Database Reference
In-Depth Information
user=> (def input-size 1000000)
#'user/input-size
user=> (quick-bench (mc-pi input-size))
WARNING: Final GC required 3.825293394551939 % of runtime
Evaluation count : 6 in 6 samples of 1 calls.
Execution time mean : 354.953166 ms
Execution time std-deviation : 13.118006 ms
Execution time lower quantile : 345.135999 ms ( 2.5%)
Execution time upper quantile : 375.628874 ms (97.5%)
Overhead used : 1.871847 ns
Found 1 outliers in 6 samples (16.6667 %)
low-severe 1 (16.6667 %)
Variance from outliers : 13.8889 % Variance is moderately inflated by
outliers
nil
The following table shows the timings of each way of running the program, along with the
parameters given, if applicable:
Function
Input size
Chunk size
Mean
Std deviation
GC time
mc-pi
1,000,000
NA
354.953ms
13.118ms
3.825%
mc-pi-pmap
1,000,000
NA
944.230ms
7.363ms
1.588%
mc-pi-part
1,000,000
4,096
430.404ms
8.952ms
3.303%
Here's a chart with the same information:
 
Search WWH ::




Custom Search