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

Stop process between each test #1

Open
chrisjenx opened this issue Mar 11, 2014 · 1 comment
Open

Stop process between each test #1

chrisjenx opened this issue Mar 11, 2014 · 1 comment

Comments

@chrisjenx
Copy link

Java/Dalvik optimise code as they are run, if GreenDAO ORMLite call similar methods the test running last will actually be automatically optimised.

You ideally need to cold start every test to get anything near to a 'reliable' benchmark (if such thing exists).

@daj
Copy link
Contributor

daj commented Mar 11, 2014

Thanks for the suggestion. I'm pretty sure we did at least some of the performance tests with a cold start for each test (i.e. we only ran one of the executers per launch).

I don't know much about VM optimizations, but as each test involves lots of looping, and each set of tests is run 5 times I'd hope all tests would benefit from any optimizations.

bmcd pushed a commit to touchlab-lab/android-orm-benchmark that referenced this issue May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants