@@ -678,25 +678,25 @@ julia> sort(xs[1:9]); # compile
678678
679679julia> @pstats sort(xs)
680680━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
681- ┌ cpu-cycles 2.57e +08 48.6 % # 3.8 cycles per ns
682- │ stalled-cycles-frontend 1.10e+07 48.6 % # 4.3 % of cycles
683- └ stalled-cycles-backend 2.48e+06 48.6 % # 1.0 % of cycles
684- ┌ instructions 1.84e +08 51.4 % # 0.7 insns per cycle
685- │ branch-instructions 3.73e +07 51.4 % # 20.2 % of instructions
686- └ branch-misses 7.92e +06 51.4 % # 21.2 % of branch instructions
687- ┌ task-clock 6.75e +07 100.0%
688- │ context-switches 0 .00e+00 100.0%
681+ ┌ cpu-cycles 2.68e +08 51.0 % # 3.9 cycles per ns
682+ │ stalled-cycles-frontend 9.75e+06 51.0 % # 3.6 % of cycles
683+ └ stalled-cycles-backend 2.00e+07 51.0 % # 7.5 % of cycles
684+ ┌ instructions 1.87e +08 49.0 % # 0.7 insns per cycle
685+ │ branch-instructions 3.82e +07 49.0 % # 20.4 % of instructions
686+ └ branch-misses 8.51e +06 49.0 % # 22.3 % of branch instructions
687+ ┌ task-clock 6.90e +07 100.0%
688+ │ context-switches 6 .00e+00 100.0%
689689│ cpu-migrations 0.00e+00 100.0%
690690└ page-faults 1.95e+03 100.0%
691691━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
692692
693693julia> @pstats "(cpu-cycles,instructions,branch-instructions,branch-misses),page-faults" sort(xs)
694694━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
695- ┌ cpu-cycles 2.61e +08 100.0% # 3.9 cycles per ns
696- │ instructions 1.80e +08 100.0% # 0.7 insns per cycle
697- │ branch-instructions 3.64e +07 100.0% # 20.2 % of instructions
698- └ branch-misses 8.32e +06 100.0% # 22.8 % of branch instructions
699- ╶ page-faults 0.00e+00 100.0%
695+ ┌ cpu-cycles 2.68e +08 100.0% # 3.9 cycles per ns
696+ │ instructions 1.89e +08 100.0% # 0.7 insns per cycle
697+ │ branch-instructions 3.80e +07 100.0% # 20.1 % of instructions
698+ └ branch-misses 8.23e +06 100.0% # 21.7 % of branch instructions
699+ ╶ page-faults 1.95e+03 100.0%
700700━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
701701```
702702"""
0 commit comments