def warmup_plot_fannkuch(): ids = [ 99 # 2020-08-30, trufflephp , fannkuchredux-1 , 101 # 2020-08-30, trufflephp, fannkuchredux-1 , 103 # 2020-08-30, trufflephp, fannkuchredux-1 , 105 # 2020-08-30, trufflephp, fannkuchredux-1 , 107 # 2020-08-30, trufflephp, fannkuchredux-1 , 109 # 2020-08-30, trufflephp, fannkuchredux-1 , 111 # 2020-08-30, trufflephp, fannkuchredux-1 , 113 # 2020-08-31, trufflephp, fannkuchredux-1 , 115 # 2020-08-31, trufflephp, fannkuchredux-1 ] runs = [get_timings_by_id(i, warmup=0) for i in ids] do_warmup_plot('fannkuchredux \ncopy-by-val', runs, num_iter=num_iter, subtitle='', file_prefix='trufflephp-') pass
def warmup_plot_fannkuch(): ids = [ 100 # fannkuchredux-1, 2020-08-30 21:14, graalphp-native , 102 # fannkuchredux-1, 2020-08-30 21:39, graalphp-native , 104 # fannkuchredux-1, 2020-08-30 22:03, graalphp-native , 106 # fannkuchredux-1, 2020-08-30 22:28, graalphp-native , 108 # fannkuchredux-1, 2020-08-30 22:52, graalphp-native , 110 # fannkuchredux-1, 2020-08-30 23:16, graalphp-native , 112 # fannkuchredux-1, 2020-08-30 23:40, graalphp-native , 114 # fannkuchredux-1, 2020-08-31 00:04, graalphp-native , 116 # fannkuchredux-1, 2020-08-31 00:28, graalphp-native ] runs = [get_timings_by_id(i, warmup=0) for i in ids] do_warmup_plot('fannkuchredux \ncopy-by-val', runs, num_iter=num_iter, subtitle='', file_prefix=name) pass
def warmup_plot_bintree(): ids_by_val = [ 156 # binary-trees-by-val, 2020-09-01 01:57:02, trufflephp-native , 160 # binary-trees-by-val, 2020-09-01 07:20:34, trufflephp-native , 164 # binary-trees-by-val, 2020-09-01 12:48:38, trufflephp-native ] runs = [get_timings_by_id(i, warmup=0) for i in ids_by_val] do_warmup_plot('binary-trees \ncopy-by-val', runs, num_iter=num_iter, file_prefix=name) ids_by_ref = [ 169 # binary-trees-by-ref, 2020-09-01 14:40:30, trufflephp-native , 171 # binary-trees-by-ref, 2020-09-01 14:48:10, trufflephp-native , 173 # binary-trees-by-ref, 2020-09-01 14:55:38, trufflephp-native , 175 # binary-trees-by-ref, 2020-09-01 15:03:06, trufflephp-native , 177 # binary-trees-by-ref, 2020-09-01 15:10:40, trufflephp-native , 179 # binary-trees-by-ref, 2020-09-01 15:18:15, trufflephp-native , 181 # binary-trees-by-ref, 2020-09-01 15:25:48, trufflephp-native , 183 # binary-trees-by-ref, 2020-09-01 15:33:23, trufflephp-native , 185 # binary-trees-by-ref, 2020-09-01 15:40:56, trufflephp-native ] runs = [get_timings_by_id(i, warmup=0) for i in ids_by_ref] do_warmup_plot('binary-trees \ncopy-by-ref', runs, num_iter=num_iter, color=color_copy_by_ref, file_prefix=name) pass
def warmup_plot_spectralnorm(): ids_by_val = [ 118 # spectralnorm-by-val, 2020-08-31 00:31:52, trufflephp-native , 122 # spectralnorm-by-val, 2020-08-31 00:37:51, trufflephp-native , 126 # spectralnorm-by-val, 2020-08-31 00:43:51, trufflephp-native , 130 # spectralnorm-by-val, 2020-08-31 00:49:50, trufflephp-native , 134 # spectralnorm-by-val, 2020-08-31 00:55:49, trufflephp-native , 138 # spectralnorm-by-val, 2020-08-31 01:01:48, trufflephp-native , 142 # spectralnorm-by-val, 2020-08-31 01:07:47, trufflephp-native , 146 # spectralnorm-by-val, 2020-08-31 01:13:47, trufflephp-native , 150 # spectralnorm-by-val, 2020-08-31 01:19:46, trufflephp-native ] runs = [get_timings_by_id(i, warmup=0) for i in ids_by_val] do_warmup_plot('spectralnorm \ncopy-by-val', runs, num_iter=num_iter, file_prefix=name) ids_by_ref = [ 120 # spectralnorm-by-ref 2020-08-31 00:34:57, trufflephp-native , 124 # spectralnorm-by-ref 2020-08-31 00:40:56, trufflephp-native , 128 # spectralnorm-by-ref 2020-08-31 00:46:55, trufflephp-native , 132 # spectralnorm-by-ref 2020-08-31 00:52:54, trufflephp-native , 136 # spectralnorm-by-ref 2020-08-31 00:58:54, trufflephp-native , 140 # spectralnorm-by-ref 2020-08-31 01:04:53, trufflephp-native , 144 # spectralnorm-by-ref 2020-08-31 01:10:52, trufflephp-native , 148 # spectralnorm-by-ref 2020-08-31 01:16:51, trufflephp-native , 152 # spectralnorm-by-ref 2020-08-31 01:22:50, trufflephp-native ] runs = [get_timings_by_id(i, warmup=0) for i in ids_by_ref] do_warmup_plot('spectralnorm \ncopy-by-ref', runs, num_iter=num_iter, color=color_copy_by_ref, file_prefix=name) pass
def warmup_plot_spectralnorm(): ids_by_val = [ 117 # spectralnorm-by-val, 2020-08-31 00:31, trufflephp , 121 # spectralnorm-by-val, 2020-08-31 00:37, trufflephp , 125 # spectralnorm-by-val, 2020-08-31 00:43, trufflephp , 129 # spectralnorm-by-val, 2020-08-31 00:49, trufflephp , 133 # spectralnorm-by-val, 2020-08-31 00:55, trufflephp , 137 # spectralnorm-by-val, 2020-08-31 01:01, trufflephp , 141 # spectralnorm-by-val, 2020-08-31 01:07, trufflephp , 145 # spectralnorm-by-val, 2020-08-31 01:13, trufflephp , 149 # spectralnorm-by-val, 2020-08-31 01:19, trufflephp ] runs = [get_timings_by_id(i, warmup=0) for i in ids_by_val] do_warmup_plot('spectralnorm \ncopy-by-val', runs, num_iter=num_iter, file_prefix='trufflephp-') ids_by_ref = [ 119 # spectralnorm-by-ref, 2020-08-31 00:34, trufflephp , 123 # spectralnorm-by-ref, 2020-08-31 00:40, trufflephp , 127 # spectralnorm-by-ref, 2020-08-31 00:46, trufflephp , 131 # spectralnorm-by-ref, 2020-08-31 00:52, trufflephp , 135 # spectralnorm-by-ref, 2020-08-31 00:58, trufflephp , 139 # spectralnorm-by-ref, 2020-08-31 01:04, trufflephp , 143 # spectralnorm-by-ref, 2020-08-31 01:10, trufflephp , 147 # spectralnorm-by-ref, 2020-08-31 01:16, trufflephp , 151 # spectralnorm-by-ref, 2020-08-31 01:22, trufflephp ] runs = [get_timings_by_id(i, warmup=0) for i in ids_by_ref] do_warmup_plot('spectralnorm \ncopy-by-ref', runs, num_iter=num_iter, color=color_copy_by_ref, file_prefix='trufflephp-') pass
def warmup_plot_bintree(): ids_by_val = [ 155 # binary-trees-by-val, 2020-09-01 01:57:02, trufflephp , 159 # binary-trees-by-val, 2020-09-01 07:20:34, trufflephp , 163 # binary-trees-by-val, 2020-09-01 12:48:38, trufflephp ] runs = [get_timings_by_id(i, warmup=0) for i in ids_by_val] do_warmup_plot('binary-trees \ncopy-by-val', runs, num_iter=num_iter, file_prefix='trufflephp-') ids_by_ref = [ 168 # binary-trees-by-ref, 2020-09-01 14:40:30, trufflephp , 170 # binary-trees-by-ref, 2020-09-01 14:48:10, trufflephp , 172 # binary-trees-by-ref, 2020-09-01 14:55:38, trufflephp , 174 # binary-trees-by-ref, 2020-09-01 15:03:06, trufflephp , 176 # binary-trees-by-ref, 2020-09-01 15:10:40, trufflephp , 178 # binary-trees-by-ref, 2020-09-01 15:18:15, trufflephp , 180 # binary-trees-by-ref, 2020-09-01 15:25:48, trufflephp , 182 # binary-trees-by-ref, 2020-09-01 15:33:23, trufflephp , 184 # binary-trees-by-ref, 2020-09-01 15:40:56, trufflephp ] runs = [get_timings_by_id(i, warmup=0) for i in ids_by_ref] do_warmup_plot('binary-trees \ncopy-by-ref', runs, num_iter=num_iter, color=color_copy_by_ref, file_prefix='trufflephp-') pass