Skip to content

Instantly share code, notes, and snippets.

@lukebakken
Last active March 24, 2023 18:14
Show Gist options
  • Save lukebakken/664c19d94e9c211e4fb9889906722e52 to your computer and use it in GitHub Desktop.
Save lukebakken/664c19d94e9c211e4fb9889906722e52 to your computer and use it in GitHub Desktop.

main

C:\Users\bakkenl\rmq-server\rabbitmq_server-main
> Measure-Command { .\sbin\rabbitmqctl.bat import_definitions C:\Users\bakkenl\development\rabbitmq\sample-configs\queues\100k-classic-queues.json }

Days              : 0
Hours             : 0
Minutes           : 3
Seconds           : 55
Milliseconds      : 164
Ticks             : 2351644778
TotalDays         : 0.00272181108564815
TotalHours        : 0.0653234660555556
TotalMinutes      : 3.91940796333333
TotalSeconds      : 235.1644778
TotalMilliseconds : 235164.4778
C:\Users\bakkenl\rmq-server\rabbitmq_server-main
> for ($i = 0; $i -lt 3; $i++) { Write-Host "i: $i, stop_app"; Measure-Command { .\sbin\rabbitmqctl.bat stop_app }; Measure-Command { Write-Host "i: $i, start_app"; .\sbin\rabbitmqctl.bat start_app } }
i: 0, stop_app

Days              : 0
Hours             : 0
Minutes           : 2
Seconds           : 16
Milliseconds      : 84
Ticks             : 1360848184
TotalDays         : 0.00157505576851852
TotalHours        : 0.0378013384444444
TotalMinutes      : 2.26808030666667
TotalSeconds      : 136.0848184
TotalMilliseconds : 136084.8184

i: 0, start_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 20
Milliseconds      : 283
Ticks             : 802833875
TotalDays         : 0.000929205873842593
TotalHours        : 0.0223009409722222
TotalMinutes      : 1.33805645833333
TotalSeconds      : 80.2833875
TotalMilliseconds : 80283.3875

i: 1, stop_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 35
Milliseconds      : 246
Ticks             : 952463359
TotalDays         : 0.00110238814699074
TotalHours        : 0.0264573155277778
TotalMinutes      : 1.58743893166667
TotalSeconds      : 95.2463359
TotalMilliseconds : 95246.3359

i: 1, start_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 28
Milliseconds      : 989
Ticks             : 889899710
TotalDays         : 0.0010299765162037
TotalHours        : 0.0247194363888889
TotalMinutes      : 1.48316618333333
TotalSeconds      : 88.989971
TotalMilliseconds : 88989.971

i: 2, stop_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 29
Milliseconds      : 174
Ticks             : 891747392
TotalDays         : 0.00103211503703704
TotalHours        : 0.0247707608888889
TotalMinutes      : 1.48624565333333
TotalSeconds      : 89.1747392
TotalMilliseconds : 89174.7392

i: 2, start_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 21
Milliseconds      : 883
Ticks             : 818836991
TotalDays         : 0.000947727998842593
TotalHours        : 0.0227454719722222
TotalMinutes      : 1.36472831833333
TotalSeconds      : 81.8836991
TotalMilliseconds : 81883.6991

faster-queue-index-start

C:\Users\bakkenl\rmq-server\rabbitmq_server-faster-queue-index-start
> Measure-Command { .\sbin\rabbitmqctl.bat import_definitions C:\Users\bakkenl\development\rabbitmq\sample-configs\queues\100k-classic-queues.json }

Days              : 0
Hours             : 0
Minutes           : 3
Seconds           : 36
Milliseconds      : 892
Ticks             : 2168928014
TotalDays         : 0.00251033334953704
TotalHours        : 0.0602480003888889
TotalMinutes      : 3.61488002333333
TotalSeconds      : 216.8928014
TotalMilliseconds : 216892.8014

C:\Users\bakkenl\rmq-server\rabbitmq_server-faster-queue-index-start
> for ($i = 0; $i -lt 3; $i++) { Write-Host "i: $i, stop_app"; Measure-Command { .\sbin\rabbitmqctl.bat stop_app }; Measure-Command { Write-Host "i: $i, start_app"; .\sbin\rabbitmqctl.bat start_app } }
i: 0, stop_app

Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 30
Milliseconds      : 824
Ticks             : 908246828
TotalDays         : 0.00105121160648148
TotalHours        : 0.0252290785555556
TotalMinutes      : 1.51374471333333
TotalSeconds      : 90.8246828
TotalMilliseconds : 90824.6828

i: 0, start_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 19
Milliseconds      : 861
Ticks             : 798610075
TotalDays         : 0.000924317216435185
TotalHours        : 0.0221836131944444
TotalMinutes      : 1.33101679166667
TotalSeconds      : 79.8610075
TotalMilliseconds : 79861.0075

i: 1, stop_app
Days              : 0
Hours             : 0
Minutes           : 2
Seconds           : 23
Milliseconds      : 423
Ticks             : 1434237660
TotalDays         : 0.00165999729166667
TotalHours        : 0.039839935
TotalMinutes      : 2.3903961
TotalSeconds      : 143.423766
TotalMilliseconds : 143423.766

i: 1, start_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 11
Milliseconds      : 545
Ticks             : 715451852
TotalDays         : 0.000828069273148148
TotalHours        : 0.0198736625555556
TotalMinutes      : 1.19241975333333
TotalSeconds      : 71.5451852
TotalMilliseconds : 71545.1852

i: 2, stop_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 8
Milliseconds      : 63
Ticks             : 680639059
TotalDays         : 0.000787776688657407
TotalHours        : 0.0189066405277778
TotalMinutes      : 1.13439843166667
TotalSeconds      : 68.0639059
TotalMilliseconds : 68063.9059

i: 2, start_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 8
Milliseconds      : 757
Ticks             : 687571050
TotalDays         : 0.000795799826388889
TotalHours        : 0.0190991958333333
TotalMinutes      : 1.14595175
TotalSeconds      : 68.757105
TotalMilliseconds : 68757.105

recovery-terms-no-ram-file

C:\Users\bakkenl\rmq-server\rabbitmq_server-recovery-terms-no-ram-file
> Measure-Command { .\sbin\rabbitmqctl.bat import_definitions C:\Users\bakkenl\development\rabbitmq\sample-configs\queues\100k-classic-queues.json }

Days              : 0
Hours             : 0
Minutes           : 3
Seconds           : 37
Milliseconds      : 47
Ticks             : 2170475815
TotalDays         : 0.00251212478587963
TotalHours        : 0.0602909948611111
TotalMinutes      : 3.61745969166667
TotalSeconds      : 217.0475815
TotalMilliseconds : 217047.5815


C:\Users\bakkenl\rmq-server\rabbitmq_server-recovery-terms-no-ram-file
> for ($i = 0; $i -lt 3; $i++) { Write-Host "i: $i, stop_app"; Measure-Command { .\sbin\rabbitmqctl.bat stop_app }; Measure-Command { Write-Host "i: $i, start_app"; .\sbin\rabbitmqctl.bat start_app } }
i: 0, stop_app

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 18
Milliseconds      : 975
Ticks             : 189752309
TotalDays         : 0.000219620728009259
TotalHours        : 0.00527089747222222
TotalMinutes      : 0.316253848333333
TotalSeconds      : 18.9752309
TotalMilliseconds : 18975.2309

i: 0, start_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 33
Milliseconds      : 78
Ticks             : 930788746
TotalDays         : 0.00107730178935185
TotalHours        : 0.0258552429444444
TotalMinutes      : 1.55131457666667
TotalSeconds      : 93.0788746
TotalMilliseconds : 93078.8746

i: 1, stop_app
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 23
Milliseconds      : 805
Ticks             : 238058460
TotalDays         : 0.000275530625
TotalHours        : 0.006612735
TotalMinutes      : 0.3967641
TotalSeconds      : 23.805846
TotalMilliseconds : 23805.846

i: 1, start_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 38
Milliseconds      : 467
Ticks             : 984673081
TotalDays         : 0.00113966791782407
TotalHours        : 0.0273520300277778
TotalMinutes      : 1.64112180166667
TotalSeconds      : 98.4673081
TotalMilliseconds : 98467.3081

i: 2, stop_app
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 29
Milliseconds      : 157
Ticks             : 291579762
TotalDays         : 0.000337476576388889
TotalHours        : 0.00809943783333333
TotalMinutes      : 0.48596627
TotalSeconds      : 29.1579762
TotalMilliseconds : 29157.9762

i: 2, start_app
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 45
Milliseconds      : 207
Ticks             : 1052072992
TotalDays         : 0.00121767707407407
TotalHours        : 0.0292242497777778
TotalMinutes      : 1.75345498666667
TotalSeconds      : 105.2072992
TotalMilliseconds : 105207.2992
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment