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

Mark a test, class or suite for repetition #62

Open
bluebird75 opened this issue Jul 20, 2016 · 0 comments
Open

Mark a test, class or suite for repetition #62

bluebird75 opened this issue Jul 20, 2016 · 0 comments

Comments

@bluebird75
Copy link
Owner

When working with luajit, a function will have a different implementation whether it is run for the first time or jitted if run enough number of times.

Experiences from people working with luajit is that it is important when running tests to repeat them long enough to trigger the jit compiler.

Proposal :

  • command-line option to trigger execution of each test many times
  • final report of test execution shall show success + number of execution or index of the execution that failed + failure report
  • when test execution fails, stop repeating the test
  • it should be possible to mark tests individually for repetition
  • luajit typically detects a hot loop after 56 executions, so this would be a typical number
  • there might be luajit specific trick to trigger explicitly the jit of a test or function under test

Up for adoption

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

1 participant