Actions
Idea #4754
closed[Tests] Establish performance test benchmarks.
Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
-
Target version:
Start date:
12/09/2014
Due date:
Story points:
0.5
Description
Add a performance test task to jenkins testing.
Establish performance testing benchmarks for home page and search.
Updated by Radhika Chippada about 10 years ago
- 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
Updated by Radhika Chippada about 10 years ago
- 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
Updated by Ward Vandewege about 10 years ago
- Target version changed from 2014-12-10 sprint to 2015-01-07 sprint
Updated by Radhika Chippada about 10 years ago
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.
Updated by Radhika Chippada about 10 years ago
Merged code into master after getting Ward's green signal on the arvados-dev update.
Updated by Anonymous about 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 83 to 100
Applied in changeset arvados|commit:896d01ea7b3fed8b621ff930893d3ec806931dc9.
Actions