@@ -699,25 +699,25 @@ julia> sort(xs[1:9]); # compile
699699
700700julia> @pstats sort(xs)
701701━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
702- ┌ cpu-cycles 2.57e +08 48.6 % # 3.8 cycles per ns
703- │ stalled-cycles-frontend 1.10e+07 48.6 % # 4.3 % of cycles
704- └ stalled-cycles-backend 2.48e+06 48.6 % # 1.0 % of cycles
705- ┌ instructions 1.84e +08 51.4 % # 0.7 insns per cycle
706- │ branch-instructions 3.73e +07 51.4 % # 20.2 % of instructions
707- └ branch-misses 7.92e +06 51.4 % # 21.2 % of branch instructions
708- ┌ task-clock 6.75e +07 100.0%
709- │ context-switches 0 .00e+00 100.0%
702+ ┌ cpu-cycles 2.68e +08 51.0 % # 3.9 cycles per ns
703+ │ stalled-cycles-frontend 9.75e+06 51.0 % # 3.6 % of cycles
704+ └ stalled-cycles-backend 2.00e+07 51.0 % # 7.5 % of cycles
705+ ┌ instructions 1.87e +08 49.0 % # 0.7 insns per cycle
706+ │ branch-instructions 3.82e +07 49.0 % # 20.4 % of instructions
707+ └ branch-misses 8.51e +06 49.0 % # 22.3 % of branch instructions
708+ ┌ task-clock 6.90e +07 100.0%
709+ │ context-switches 6 .00e+00 100.0%
710710│ cpu-migrations 0.00e+00 100.0%
711711└ page-faults 1.95e+03 100.0%
712712━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
713713
714714julia> @pstats "(cpu-cycles,instructions,branch-instructions,branch-misses),page-faults" sort(xs)
715715━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
716- ┌ cpu-cycles 2.61e +08 100.0% # 3.9 cycles per ns
717- │ instructions 1.80e +08 100.0% # 0.7 insns per cycle
718- │ branch-instructions 3.64e +07 100.0% # 20.2 % of instructions
719- └ branch-misses 8.32e +06 100.0% # 22.8 % of branch instructions
720- ╶ page-faults 0.00e+00 100.0%
716+ ┌ cpu-cycles 2.68e +08 100.0% # 3.9 cycles per ns
717+ │ instructions 1.89e +08 100.0% # 0.7 insns per cycle
718+ │ branch-instructions 3.80e +07 100.0% # 20.1 % of instructions
719+ └ branch-misses 8.23e +06 100.0% # 21.7 % of branch instructions
720+ ╶ page-faults 1.95e+03 100.0%
721721━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
722722```
723723"""
0 commit comments