Profiling results ----------------- Total cpu time observed: 27826ms (out of 28392ms) Number of samples taken: 111 (once every 251ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [23] 100.0% [1] 27368(98.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [2] 6704(24.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [5] 61.9% for-loop [6] 31.1% loop [27] 7.0% ---------------------------------------------------------------------- ??? [23] 100.0% [3] 1218(4.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [7] 49.6% simplify-expr [8] 34.3% iterate-egraph!5 [11] 16.1% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 27368(98.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [23] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [5] 4152(14.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [9] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 2084(7.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [10] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [7] 604(2.2%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [11] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [8] 418(1.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [11] 100.0% ---------------------------------------------------------------------- get-final-combination [5] 100.0% [9] 4152(14.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [12] 100.0% ---------------------------------------------------------------------- for-loop [6] 100.0% [10] 2084(7.5%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [13] 58.4% finalize-iter! [15] 31.8% gen-series! [16] 9.8% ---------------------------------------------------------------------- simplify [3] 16.1% simplify-expr [8] 34.3% for-loop [7] 49.6% [11] 1218(4.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [14] 83.4% map-enodes [17] 16.6% ---------------------------------------------------------------------- split-table [9] 100.0% [12] 4152(14.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [44] 58.9% loop [41] 41.1% ---------------------------------------------------------------------- run-iter! [10] 100.0% [13] 1218(4.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [18] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [11] 100.0% [14] 1016(3.7%) 202(0.7%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 loop [20] 41.1% for-loop [21] 39.0% ---------------------------------------------------------------------- run-iter! [10] 100.0% [15] 662(2.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [19] 100.0% ---------------------------------------------------------------------- run-iter! [10] 100.0% [16] 204(0.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [22] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [11] 100.0% [17] 202(0.7%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [41] 100.0% ---------------------------------------------------------------------- simplify! [13] 100.0% [18] 1218(4.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [23] 100.0% ---------------------------------------------------------------------- finalize-iter! [15] 100.0% [19] 662(2.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [24] 100.0% ---------------------------------------------------------------------- one-iter [14] 100.0% [20] 418(1.5%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [25] 100.0% ---------------------------------------------------------------------- for-loop [21] 50.0% one-iter [14] 50.0% [21] 396(1.4%) 196(0.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [21] 50.0% match-e [29] 25.3% ---------------------------------------------------------------------- gen-series! [16] 100.0% [22] 204(0.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [26] 100.0% ---------------------------------------------------------------------- for-loop [18] 1.6% run [4] 48.6% [23] 27826(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.6% loop [27] 38.4% run-improve58 [2] 11.4% simplify [3] 1.6% ---------------------------------------------------------------------- ??? [19] 100.0% [24] 662(2.4%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [28] 100.0% ---------------------------------------------------------------------- loop [20] 100.0% [25] 418(1.5%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 for-loop [30] 52.2% match-e [29] 47.8% ---------------------------------------------------------------------- for-loop [22] 100.0% [26] 204(0.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [31] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 2.2% ??? [23] 97.8% [27] 21590(77.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [32] 45.5% make-exacts* [36] 40.4% loop [37] 14.1% ---------------------------------------------------------------------- for-loop [24] 100.0% [28] 662(2.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [33] 100.0% ---------------------------------------------------------------------- for-loop [21] 50.0% apply-match [25] 50.0% [29] 400(1.4%) 200(0.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [35] 50.0% ---------------------------------------------------------------------- apply-match [25] 100.0% [30] 218(0.8%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 loop! [46] 100.0% ---------------------------------------------------------------------- taylor-alt [26] 100.0% [31] 204(0.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [34] 100.0% ---------------------------------------------------------------------- loop [27] 100.0% [32] 9826(35.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [37] 54.9% make-exacts* [36] 45.1% ---------------------------------------------------------------------- atab-add-altn [28] 100.0% [33] 662(2.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [38] 66.5% errors [54] 33.5% ---------------------------------------------------------------------- for-loop [31] 100.0% [34] 204(0.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [39] 100.0% ---------------------------------------------------------------------- match-e [29] 100.0% [35] 200(0.7%) 200(0.7%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ---------------------------------------------------------------------- loop [32] 33.7% loop [27] 66.3% [36] 13148(47.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [40] 54.7% loop [41] 45.3% ---------------------------------------------------------------------- loop [27] 36.2% loop [32] 63.8% [37] 8442(30.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [40] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [33] 100.0% [38] 440(1.6%) 440(1.6%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- location-do [34] 100.0% [39] 204(0.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [47] 100.0% ---------------------------------------------------------------------- f94 [47] 1.3% make-exacts* [36] 45.4% loop [37] 53.3% [40] 15836(56.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [41] 97.3% ??? [43] 1.4% ??? [42] 1.3% ---------------------------------------------------------------------- map-enodes [17] 0.1% ??? [43] 0.2% make-exacts* [36] 0.6% loop! [46] 0.9% map [40] 2.0% infer-splitpoints4 [12] 7.3% loop [41] 88.8% [41] 23498(84.4%) 444(1.6%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [41] 88.8% option-on-expr [44] 7.3% ??? [43] 2.6% loop! [46] 0.9% real->bigfloat [50] 0.2% for-loop [48] 0.1% ->flonum [45] 0.0% ??? [70] 0.0% ---------------------------------------------------------------------- map [40] 100.0% [42] 204(0.7%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 f94 [47] 100.0% ---------------------------------------------------------------------- map [40] 1.1% loop [41] 98.9% [43] 20368(73.2%) 964(3.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [49] 59.1% real->bigfloat [50] 16.5% loop [41] 15.0% ??? [70] 4.7% ---------------------------------------------------------------------- loop [41] 41.1% infer-splitpoints4 [12] 58.9% [44] 4152(14.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [51] 74.4% pick-errors [53] 15.8% err-lsts->split-indices [56] 5.0% errors [54] 4.9% ---------------------------------------------------------------------- loop [41] 100.0% [45] 1222(4.4%) 286(1.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [52] 59.2% ??? [74] 17.3% ---------------------------------------------------------------------- loop [41] 50.0% for-loop [30] 50.0% [46] 218(0.8%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 loop [41] 50.0% set [55] 50.0% ---------------------------------------------------------------------- f94 [47] 33.3% ??? [42] 33.3% approximate9 [39] 33.3% [47] 204(0.7%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 map [40] 33.3% f94 [47] 33.3% taylor [57] 33.3% ---------------------------------------------------------------------- loop [41] 100.0% [48] 202(0.7%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 curried [58] 100.0% ---------------------------------------------------------------------- ??? [43] 100.0% [49] 12042(43.3%) 260(0.9%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [65] 73.7% ...higher-order.rkt:373:33 [60] 12.5% bf* [61] 11.6% ---------------------------------------------------------------------- loop [41] 39.2% ??? [43] 60.8% [50] 5518(19.8%) 4046(14.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [76] 26.7% ---------------------------------------------------------------------- option-on-expr [44] 100.0% [51] 3090(11.1%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [59] 100.0% ---------------------------------------------------------------------- ->flonum [45] 100.0% [52] 724(2.6%) 724(2.6%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- option-on-expr [44] 100.0% [53] 654(2.4%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [62] 100.0% ---------------------------------------------------------------------- option-on-expr [44] 47.6% best-and-tied-at-points [33] 52.4% [54] 424(1.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [77] 100.0% ---------------------------------------------------------------------- loop! [46] 100.0% [55] 218(0.8%) 218(0.8%) set ...collects/racket/private/set-types.rkt:982:0 ---------------------------------------------------------------------- option-on-expr [44] 100.0% [56] 206(0.7%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [63] 100.0% ---------------------------------------------------------------------- f94 [47] 100.0% [57] 204(0.7%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 debug-print [64] 100.0% ---------------------------------------------------------------------- for-loop [48] 100.0% [58] 202(0.7%) 202(0.7%) curried ...cket/collects/racket/function.rkt:71:18 ---------------------------------------------------------------------- sort-context-on-expr [51] 100.0% [59] 3090(11.1%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [66] 100.0% ---------------------------------------------------------------------- ??? [49] 100.0% [60] 1510(5.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [67] 61.2% ??? [70] 38.8% ---------------------------------------------------------------------- ??? [49] 100.0% [61] 1396(5.0%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [65] 100.0% ---------------------------------------------------------------------- pick-errors [53] 100.0% [62] 654(2.4%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [77] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [56] 100.0% [63] 206(0.7%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [68] 100.0% ---------------------------------------------------------------------- taylor [57] 100.0% [64] 204(0.7%) 204(0.7%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ---------------------------------------------------------------------- bf* [61] 13.6% ??? [49] 86.4% [65] 10272(36.9%) 1702(6.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [69] 36.5% bfsqr [71] 26.4% ??? [74] 20.5% ---------------------------------------------------------------------- copying-mergesort [66] 46.2% sort [59] 53.8% [66] 3090(11.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [72] 47.3% copying-mergesort [66] 46.2% jloop [73] 6.5% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [60]100.0% [67] 924(3.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [70] 100.0% ---------------------------------------------------------------------- add-splitpoint [63] 100.0% [68] 206(0.7%) 206(0.7%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 ---------------------------------------------------------------------- ??? [65] 100.0% [69] 3750(13.5%) 3298(11.9%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [76] 12.1% ---------------------------------------------------------------------- loop [41] 15.3% ...higher-order.rkt:373:33 [60] 20.1% ??? [67] 31.8% ??? [43] 32.8% [70] 2910(10.5%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [74] 100.0% ---------------------------------------------------------------------- ??? [65] 100.0% [71] 2710(9.7%) 1994(7.2%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [76] 26.4% ---------------------------------------------------------------------- copying-mergesort [66] 100.0% [72] 2284(8.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [75] 100.0% ---------------------------------------------------------------------- copying-mergesort [66] 100.0% [73] 806(2.9%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [75] 100.0% ---------------------------------------------------------------------- ->flonum [45] 4.1% ??? [65] 40.3% ??? [70] 55.6% [74] 5232(18.8%) 2354(8.5%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [78] 55.0% ---------------------------------------------------------------------- jloop [73] 26.1% loop [72] 73.9% [75] 3090(11.1%) 200(0.7%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [77] 93.5% ---------------------------------------------------------------------- bfsub [69] 17.1% bfsqr [71] 27.1% real->bigfloat [50] 55.8% [76] 2640(9.5%) 2640(9.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- errors [54] 10.7% for-loop [62] 16.5% ??? [75] 72.8% [77] 3968(14.3%) 3326(12.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [80] 10.6% go [81] 5.5% ---------------------------------------------------------------------- ??? [74] 100.0% [78] 2878(10.3%) 1652(5.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [79] 42.6% ---------------------------------------------------------------------- ??? [78] 100.0% [79] 1226(4.4%) 1226(4.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------- eval-prog [77] 100.0% [80] 422(1.5%) 422(1.5%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 ---------------------------------------------------------------------- eval-prog [77] 100.0% [81] 220(0.8%) 220(0.8%) go .../collects/racket/private/qq-and-or.rkt:50:20 ----------------------------------------------------------------------