Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create benchmarks #129

Closed
dignifiedquire opened this issue Oct 19, 2012 · 3 comments
Closed

Create benchmarks #129

dignifiedquire opened this issue Oct 19, 2012 · 3 comments

Comments

@dignifiedquire
Copy link
Member

As discussed in #110 and #95 there should be a way to benchmark testacular.
I've found this grunt task and it's really simple to setup.
But if we want to use it we need to switch to grunt@devel as this task only runs there.

Any other ideas or suggestions on how to benchmark testacular as a whole?

@vojtajina
Copy link
Contributor

We really want running tests to be fast, however the node.js part of the app is more likely not gonna be the bottleneck. It's more about:

1/ how you write your js tests (as the execution time in the browser is the most significant)
2/ communication with browser (benchmarking socket.io / switching to other library)
3/ then we could benchmark memory/CPU consumption of Testacular or benchmark file resolving or bootstrapping Testacular (might be interested to compare bootstrap time after refactoring to DI)

Should we close this for now ?

@vojtajina
Copy link
Contributor

Actually, I found myself running the AngularJS test suite very often (pretty much every release). Just running the whole suite for couple of times on Safari and Chrome and comparing the times, whether it does not get slower...

I think it would be a good start to automate this.

@dignifiedquire
Copy link
Member Author

Closing for now, we will come back when we have time or it gets more important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants