Skip to content

Instantly share code, notes, and snippets.

@danielkza
Last active July 22, 2016 21:16
Show Gist options
  • Save danielkza/521a566c895a53ae99f11b012bb8d21a to your computer and use it in GitHub Desktop.
Save danielkza/521a566c895a53ae99f11b012bb8d21a to your computer and use it in GitHub Desktop.
$ PROFILE_NUM_RUNS=3 command time -v ruby performance/tests/aggregation.rb
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.x-compliant syntax, but you are running 2.3.0.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Profiling Performance::Aggregation
Setup: start
Created 1023 ModuleResults and 4096 MetricResults
Setup: finish
Run 1: start
Run 1: finish
Teardown: start
Aggregation produced 1023 ModuleResults and 8184 MetricResults
Teardown: finish
Setup: start
Created 1023 ModuleResults and 4096 MetricResults
Setup: finish
Run 2: start
Run 2: finish
Teardown: start
Aggregation produced 1023 ModuleResults and 8184 MetricResults
Teardown: finish
Setup: start
Created 1023 ModuleResults and 4096 MetricResults
Setup: finish
Run 3: start
Run 3: finish
Teardown: start
Aggregation produced 1023 ModuleResults and 8184 MetricResults
Teardown: finish
:
114.01650500297546
114.32519102096558
110.88765501976013
Average: 113.07645034790039
Command being timed: "ruby performance/tests/aggregation.rb"
User time (seconds): 227.95
System time (seconds): 7.87
Percent of CPU this job got: 62%
Elapsed (wall clock) time (h:mm:ss or m:ss): 6:17.96
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 320516
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 16
Minor (reclaiming a frame) page faults: 116138
Voluntary context switches: 95463
Involuntary context switches: 16992
Swaps: 0
File system inputs: 11368
File system outputs: 955448
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
$ PROFILE_NUM_RUNS=3 command time -v ruby performance/tests/aggregation.rb
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.x-compliant syntax, but you are running 2.3.0.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Profiling Performance::Aggregation
Setup: start
Created 1023 ModuleResults and 4096 MetricResults
Setup: finish
Run 1: start
Run 1: finish
Teardown: start
Aggregation produced 1023 ModuleResults and 8184 MetricResults
Teardown: finish
Setup: start
Created 1023 ModuleResults and 4096 MetricResults
Setup: finish
Run 2: start
Run 2: finish
Teardown: start
Aggregation produced 1023 ModuleResults and 8184 MetricResults
Teardown: finish
Setup: start
Created 1023 ModuleResults and 4096 MetricResults
Setup: finish
Run 3: start
Run 3: finish
Teardown: start
Aggregation produced 1023 ModuleResults and 8184 MetricResults
Teardown: finish
:
221.21595907211304
228.5401451587677
216.8934988975525
Average: 222.2165343761444
Command being timed: "ruby performance/tests/aggregation.rb"
User time (seconds): 528.43
System time (seconds): 12.79
Percent of CPU this job got: 76%
Elapsed (wall clock) time (h:mm:ss or m:ss): 11:45.83
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 363696
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 4
Minor (reclaiming a frame) page faults: 127796
Voluntary context switches: 226572
Involuntary context switches: 79289
Swaps: 0
File system inputs: 128
File system outputs: 2192936
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
$ PROFILE_NUM_RUNS=3 command time -v ruby performance/tests/aggregation.rb
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.x-compliant syntax, but you are running 2.3.0.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Profiling Performance::Aggregation
Setup: start
Created 1023 ModuleResults and 4096 MetricResults
Setup: finish
Run 1: start
Run 1: finish
Teardown: start
Aggregation produced 1023 ModuleResults and 8184 MetricResults
Teardown: finish
Setup: start
Created 1023 ModuleResults and 4096 MetricResults
Setup: finish
Run 2: start
Run 2: finish
Teardown: start
Aggregation produced 1023 ModuleResults and 8184 MetricResults
Teardown: finish
Setup: start
Created 1023 ModuleResults and 4096 MetricResults
Setup: finish
Run 3: start
Run 3: finish
Teardown: start
Aggregation produced 1023 ModuleResults and 8184 MetricResults
Teardown: finish
:
22.606112003326416
23.290388107299805
22.962878942489624
Average: 22.953126351038616
Command being timed: "ruby performance/tests/aggregation.rb"
User time (seconds): 83.80
System time (seconds): 1.70
Percent of CPU this job got: 83%
Elapsed (wall clock) time (h:mm:ss or m:ss): 1:41.94
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 266640
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 1
Minor (reclaiming a frame) page faults: 103502
Voluntary context switches: 34204
Involuntary context switches: 5412
Swaps: 0
File system inputs: 104
File system outputs: 350000
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment