Skip to content

Instantly share code, notes, and snippets.

@DimanNe
Created February 16, 2020 13:54
Show Gist options
  • Save DimanNe/9a30dea69d6441ee4a83d7b99d4a4343 to your computer and use it in GitHub Desktop.
Save DimanNe/9a30dea69d6441ee4a83d7b99d4a4343 to your computer and use it in GitHub Desktop.
Size of array: 1000
Number of calls: 100000
Actors reduce:
Linear Histrogram. Recorded 100000 samples, Min: 8, Max: 2675, Avg: 10
(-inf; 1) (0 = 0.0%} {0.00%}
[1; 5) (0 = 0.0%} {0.00%}
[5; 10) ##################################################################################### (87875 = 87.9%} {0.00%}
[10; 15) ######## (8349 = 8.3%} {87.88%}
[15; 20) ## (2374 = 2.4%} {96.22%}
[20; 25) (242 = 0.2%} {98.60%}
[25; 30) (39 = 0.0%} {98.84%}
[30; 35) (257 = 0.3%} {98.88%}
[35; 40) (298 = 0.3%} {99.14%}
[40; 45) (113 = 0.1%} {99.43%}
[45; 50) (57 = 0.1%} {99.55%}
[50; 55) (40 = 0.0%} {99.60%}
[55; 60) (42 = 0.0%} {99.64%}
[60; 65) (49 = 0.0%} {99.69%}
[65; 70) (57 = 0.1%} {99.74%}
[70; 75) (42 = 0.0%} {99.79%}
[75; 80) (23 = 0.0%} {99.83%}
[80; 85) (19 = 0.0%} {99.86%}
[85; 90) (13 = 0.0%} {99.88%}
[90; 95) (12 = 0.0%} {99.89%}
[95; 100) (6 = 0.0%} {99.90%}
[100; +inf) (93 = 0.1%} {99.91%}
std::async reduce
Linear Histrogram. Recorded 100000 samples, Min: 28, Max: 8002, Avg: 45
(-inf; 1) (0 = 0.0%} {0.00%}
[1; 5) (0 = 0.0%} {0.00%}
[5; 10) (0 = 0.0%} {0.00%}
[10; 15) (0 = 0.0%} {0.00%}
[15; 20) (0 = 0.0%} {0.00%}
[20; 25) (0 = 0.0%} {0.00%}
[25; 30) (45 = 0.0%} {0.00%}
[30; 35) ##################################################################################### (47834 = 47.8%} {0.04%}
[35; 40) ################################################################# (36695 = 36.7%} {47.88%}
[40; 45) ####### (4435 = 4.4%} {84.57%}
[45; 50) ## (1498 = 1.5%} {89.01%}
[50; 55) # (1011 = 1.0%} {90.51%}
[55; 60) ## (1552 = 1.6%} {91.52%}
[60; 65) ## (1582 = 1.6%} {93.07%}
[65; 70) # (759 = 0.8%} {94.65%}
[70; 75) (526 = 0.5%} {95.41%}
[75; 80) (313 = 0.3%} {95.94%}
[80; 85) (236 = 0.2%} {96.25%}
[85; 90) (153 = 0.2%} {96.49%}
[90; 95) (142 = 0.1%} {96.64%}
[95; 100) (93 = 0.1%} {96.78%}
[100; +inf) ##### (3126 = 3.1%} {96.87%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment