Skip to content

Instantly share code, notes, and snippets.

@joshuaswilcox
Created October 22, 2013 19:47
Show Gist options
  • Save joshuaswilcox/7106954 to your computer and use it in GitHub Desktop.
Save joshuaswilcox/7106954 to your computer and use it in GitHub Desktop.
Top 10 slowest examples (450.02 seconds, 65.1% of total time):
User searches user search features and there are no results
74.77 seconds ./spec/features/search_spec.rb:11
User searches user search features and they sort by title
62.61 seconds ./spec/features/search_spec.rb:32
User searches user search features and they filter with a facet
54.08 seconds ./spec/features/search_spec.rb:26
User searches user search features and they sort by date
46.35 seconds ./spec/features/search_spec.rb:39
User searches user search features and there are less than 10 results
42.31 seconds ./spec/features/search_spec.rb:16
Visitor signs up with blank last name
40.45 seconds ./spec/features/user_actions_spec.rb:36
User searches user search features and there are more than 10 results
38.11 seconds ./spec/features/search_spec.rb:21
Openvault::Ingester::Pbcore.ingest! returns array of OpenvaultAsset models just ingested
31.72 seconds ./spec/lib/openvault/ingester/pbcore_spec.rb:24
Openvault::Ingester::Pbcore.ingest! saves one OpenvaultAsset for every pbcoreDescriptionDocument node in the xml.
30.36 seconds ./spec/lib/openvault/ingester/pbcore_spec.rb:14
Openvault::Ingester::Pbcore.ingest! does not raise an error when given valid xml with a single pbcoreCollection node containing multiple pbcoreDescriptionDocument nodes.
29.27 seconds ./spec/lib/openvault/ingester/pbcore_spec.rb:20
Top 10 slowest example groups:
User searches
53.04 seconds average (318.22 seconds / 6 examples) ./spec/features/search_spec.rb:6
Openvault::Ingester::Pbcore
30.45 seconds average (91.34 seconds / 3 examples) ./spec/lib/openvault/ingester/pbcore_spec.rb:4
Openvault::Ingester::Artesia
15.16 seconds average (15.16 seconds / 1 example) ./spec/lib/openvault/ingester/artesia_spec.rb:6
Visitor signs up
13.35 seconds average (93.44 seconds / 7 examples) ./spec/features/user_actions_spec.rb:6
Users wants to edit their profile
12.04 seconds average (60.18 seconds / 5 examples) ./spec/features/user_actions_spec.rb:65
User tries to create a custom collection
6.13 seconds average (18.4 seconds / 3 examples) ./spec/features/custom_collections_actions_spec.rb:7
User tries to edit a collection
4.9 seconds average (19.58 seconds / 4 examples) ./spec/features/custom_collections_actions_spec.rb:121
ArtesiaIngest
1.83 seconds average (20.11 seconds / 11 examples) ./spec/models/artesia_ingest_spec.rb:5
CollectionsController
1.76 seconds average (3.53 seconds / 2 examples) ./spec/controllers/collections_controller_spec.rb:3
Openvault::Ingester::MARS
1.53 seconds average (1.53 seconds / 1 example) ./spec/lib/openvault/ingester/mars_deletes_tmp_files_spec.rb:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment