Idea #4754
closed
[Tests] Establish performance test benchmarks.
Added by Radhika Chippada about 10 years ago.
Updated about 10 years ago.
Assigned To:
Radhika Chippada
Description
Add a performance test task to jenkins testing.
Establish performance testing benchmarks for home page and search.
- Tracker changed from Bug to Idea
- Description updated (diff)
- Status changed from New to In Progress
- Assigned To set to Radhika Chippada
- Target version set to 2014-12-10 sprint
- Use the following command to run the performance test
RAILS_ENV=test bundle exec rake test:benchmark
- The following is the benchmark report after running the tests
BrowsingTest#test_homepage (9.95 sec warmup)
wall_time: 2.01 sec
SearchTest#test_search (3.65 sec warmup)
wall_time: 3.64 sec
- Target version changed from 2014-12-10 sprint to 2015-01-07 sprint
There are two modes in which performance benchmark testing can be done: one to run in test mode and one to run against a running workbench instance (such as production).
- Similar to other integration tests using the following command. This will run tests located in the arvados/apps/workbench/test/performance directory in RAILS_ENV=test mode. A jenkins task is also added for this.
RAILS_ENV=test bundle exec rake test:benchmark
- Against a configured workbench url using "RAILS_ENV=performance". Edit the performance block in application.default.yml to configure the workbench url and user token to be used.
RAILS_ENV=performance bundle exec rake TEST=test/performance/*.rb
- After test is completed, the benchmark data will be stored in tmp/performance directory.
Merged code into master after getting Ward's green signal on the arvados-dev update.
- Status changed from In Progress to Resolved
- % Done changed from 83 to 100
Applied in changeset arvados|commit:896d01ea7b3fed8b621ff930893d3ec806931dc9.
Also available in: Atom
PDF