Tuning Performance
SPLIT
Parallelizing directive
Webapp.io provides a utility to run tests in parallel - SPLIT 5 duplicates the entire VM 5 times at the point it executes. In practice this means that you can run tests in parallel without worrying about race conditions causing flaky tests.
Rails: knapsack
See knapsack pro
- Install the gem
- Run
KNAPSACK_GENERATE_REPORT=true bundle exec rspec spec
on your local computer git add knapsack_rspec_report.json && git commit -m 'knapsack' && git push origin master
Your Layerfile will look something like this:
Layerfile
Go: custom test runner
See this file for an example parallel test runner for go.
The Layerfile from that example:
Layerfile