Skip to content

Instantly share code, notes, and snippets.

@brad-anderson
Created March 28, 2014 22:08
Show Gist options
  • Save brad-anderson/9844024 to your computer and use it in GitHub Desktop.
Save brad-anderson/9844024 to your computer and use it in GitHub Desktop.
Timing D startup times of empty program:
void main() { } // -release -O -noboundscheck -inline
------------------------
Total time (ms): 10087.7
Repetitions : 1000
Sample mode : 9.6 (196 ocurrences)
Median time : 9.7305
Avg time : 10.0877
Std dev. : 1.48328
Minimum : 9.297
Maximum : 21.814
95% conf.int. : [7.18051, 12.9949] e = 2.90717
99% conf.int. : [6.26701, 13.9084] e = 3.82067
EstimatedAvg95%: [9.99575, 10.1796] e = 0.0919329
EstimatedAvg99%: [9.96686, 10.2085] e = 0.12082
Histogram :
msecs: count normalized bar
9.2: 1
9.3: 17 ###
9.4: 91 ##################
9.5: 148 ##############################
9.6: 196 ########################################
9.7: 146 #############################
9.8: 122 ########################
9.9: 92 ##################
10.0: 42 ########
10.1: 19 ###
10.2: 25 #####
10.3: 15 ###
10.4: 12 ##
10.5: 1
10.6: 4
10.7: 1
10.9: 1
11.0: 1
11.1: 2
13.1: 2
13.2: 5 #
13.3: 14 ##
13.4: 9 #
13.5: 7 #
13.6: 4
13.7: 2
13.8: 2
13.9: 3
14.0: 2
14.4: 1
15.7: 1
20.3: 1
20.4: 1
20.5: 2
20.7: 1
20.8: 1
20.9: 1
21.0: 2
21.1: 2
21.8: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment