Profiling results ----------------- Total cpu time observed: 17812ms (out of 18192ms) Number of samples taken: 71 (once every 251ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [6] 100.0% [1] 17574(98.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ----------------------------------------------------------------------- ??? [6] 100.0% [2] 1022(5.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [4] 40.9% for-loop [5] 39.5% iterate-egraph!5 [7] 19.6% ----------------------------------------------------------------------- profile-thunk14 [1] 98.7% [3] 17812(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [6] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [4] 418(2.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [7] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [5] 404(2.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [7] 100.0% ----------------------------------------------------------------------- for-loop [28] 1.9% run [3] 49.7% [6] 17812(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.4% loop [10] 40.2% run-improve58 [8] 9.5% simplify [2] 1.9% ----------------------------------------------------------------------- simplify [2] 19.6% for-loop [5] 39.5% simplify-expr [4] 40.9% [7] 1022(5.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [9] 100.0% ----------------------------------------------------------------------- ??? [6] 100.0% [8] 3716(20.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [11] 44.1% get-final-combination [12] 43.5% loop [10] 12.3% ----------------------------------------------------------------------- iterate-egraph!5 [7] 100.0% [9] 1022(5.7%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [13] 80.2% loop [14] 19.8% ----------------------------------------------------------------------- run-improve58 [8] 3.1% ??? [6] 96.9% [10] 14554(81.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [15] 47.6% make-exacts* [19] 42.1% loop [20] 10.4% ----------------------------------------------------------------------- run-improve58 [8] 100.0% [11] 1640(9.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [16] 100.0% ----------------------------------------------------------------------- run-improve58 [8] 100.0% [12] 1618(9.1%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 100.0% ----------------------------------------------------------------------- for-loop [13] 50.0% one-iter [9] 50.0% [13] 820(4.6%) 202(1.1%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [13] 50.0% match-e [23] 37.7% ----------------------------------------------------------------------- one-iter [9] 100.0% [14] 202(1.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [18] 100.0% ----------------------------------------------------------------------- loop [10] 100.0% [15] 6924(38.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 62.4% make-exacts* [19] 37.6% ----------------------------------------------------------------------- for-loop [11] 100.0% [16] 1640(9.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [22] 62.3% finalize-iter! [24] 24.9% gen-series! [25] 12.8% ----------------------------------------------------------------------- get-final-combination [12] 100.0% [17] 1618(9.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ----------------------------------------------------------------------- loop [14] 100.0% [18] 202(1.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [23] 100.0% ----------------------------------------------------------------------- loop [15] 29.9% loop [10] 70.1% [19] 8726(49.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [26] 56.4% loop [32] 43.6% ----------------------------------------------------------------------- loop [10] 25.9% loop [15] 74.1% [20] 5828(32.7%) 228(1.3%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [26] 96.1% ----------------------------------------------------------------------- split-table [17] 100.0% [21] 1618(9.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [27] 100.0% ----------------------------------------------------------------------- run-iter! [16] 100.0% [22] 1022(5.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [28] 100.0% ----------------------------------------------------------------------- for-loop [34] 12.2% apply-match [18] 24.6% for-loop [13] 63.2% [23] 820(4.6%) 402(2.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [29] 51.0% for-loop [34] 12.2% ----------------------------------------------------------------------- run-iter! [16] 100.0% [24] 408(2.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [30] 100.0% ----------------------------------------------------------------------- run-iter! [16] 100.0% [25] 210(1.2%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% ----------------------------------------------------------------------- make-exacts* [19] 46.8% loop [20] 53.2% [26] 10524(59.1%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [32] 96.1% ??? [52] 3.9% ----------------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [27] 1618(9.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [33] 87.0% errors [47] 13.0% ----------------------------------------------------------------------- simplify! [22] 100.0% [28] 1022(5.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [6] 100.0% ----------------------------------------------------------------------- match-e [23] 100.0% [29] 418(2.3%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [34] 52.2% list-cartesian-product [37] 47.8% ----------------------------------------------------------------------- finalize-iter! [24] 100.0% [30] 408(2.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [35] 100.0% ----------------------------------------------------------------------- gen-series! [25] 100.0% [31] 210(1.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [36] 100.0% ----------------------------------------------------------------------- make-exacts* [19] 0.4% map [26] 4.2% loop [32] 95.4% [32] 13916(78.1%) 476(2.7%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [32] 95.4% ??? [52] 4.6% ->flonum [41] 0.0% ----------------------------------------------------------------------- option-on-expr [27] 100.0% [33] 1408(7.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [38] 100.0% ----------------------------------------------------------------------- match-e [23] 47.8% for-loop [29] 52.2% [34] 418(2.3%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ??? [40] 52.2% match-e [23] 47.8% ----------------------------------------------------------------------- ??? [30] 100.0% [35] 408(2.3%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [39] 100.0% ----------------------------------------------------------------------- for-loop [31] 100.0% [36] 210(1.2%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [42] 100.0% ----------------------------------------------------------------------- for-loop [29] 100.0% [37] 200(1.1%) 200(1.1%) list-cartesian-product ...src/core/ematch.rkt:20:0 ----------------------------------------------------------------------- sort-context-on-expr [33] 100.0% [38] 1408(7.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [43] 71.4% loop [46] 28.6% ----------------------------------------------------------------------- for-loop [35] 100.0% [39] 408(2.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [44] 100.0% ----------------------------------------------------------------------- for-loop [34] 100.0% [40] 218(1.2%) 218(1.2%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 ----------------------------------------------------------------------- loop [32] 100.0% [41] 216(1.2%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [62] 100.0% ----------------------------------------------------------------------- taylor-alt [36] 100.0% [42] 210(1.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [45] 100.0% ----------------------------------------------------------------------- sort [38] 36.6% copying-mergesort [43] 63.4% [43] 1006(5.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [43] 63.4% loop [46] 36.6% ----------------------------------------------------------------------- atab-add-altn [39] 100.0% [44] 408(2.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [47] 100.0% ----------------------------------------------------------------------- for-loop [42] 100.0% [45] 210(1.2%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [48] 100.0% ----------------------------------------------------------------------- sort [38] 28.6% copying-mergesort [43] 71.4% [46] 1408(7.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [49] 100.0% ----------------------------------------------------------------------- option-on-expr [27] 34.0% best-and-tied-at-points [44] 66.0% [47] 618(3.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [53] 66.0% for-loop [51] 34.0% ----------------------------------------------------------------------- location-do [45] 100.0% [48] 210(1.2%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [50] 100.0% ----------------------------------------------------------------------- loop [46] 100.0% [49] 1408(7.9%) 202(1.1%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [53] 85.7% ----------------------------------------------------------------------- approximate9 [48] 100.0% [50] 210(1.2%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 taylor-sqrt [54] 100.0% ----------------------------------------------------------------------- errors [47] 100.0% [51] 210(1.2%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [52] 100.0% ----------------------------------------------------------------------- for-loop [51] 1.5% map [26] 3.0% loop [32] 95.5% [52] 13844(77.7%) 192(1.1%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [55] 63.5% real->bigfloat [56] 33.3% ??? [69] 1.8% ----------------------------------------------------------------------- errors [47] 25.3% ??? [49] 74.7% [53] 1614(9.1%) 1206(6.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [58] 12.8% go [59] 12.5% ----------------------------------------------------------------------- f94 [50] 100.0% [54] 210(1.2%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [57] 100.0% ----------------------------------------------------------------------- ??? [52] 100.0% [55] 8794(49.4%) 432(2.4%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [64] 56.3% bf* [60] 19.7% ...higher-order.rkt:373:33 [61] 16.7% ??? [62] 2.4% ----------------------------------------------------------------------- ??? [52] 100.0% [56] 4606(25.9%) 3578(20.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [71] 22.3% ----------------------------------------------------------------------- taylor-sqrt [54] 100.0% [57] 210(1.2%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 make-multiplication-node [63] 100.0% ----------------------------------------------------------------------- inductor [58] 50.0% eval-prog [53] 50.0% [58] 206(1.2%) 206(1.2%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [58] 50.0% ----------------------------------------------------------------------- eval-prog [53] 100.0% [59] 202(1.1%) 202(1.1%) go .../collects/racket/private/qq-and-or.rkt:50:20 ----------------------------------------------------------------------- ??? [55] 100.0% [60] 1736(9.7%) 218(1.2%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [64] 87.4% ----------------------------------------------------------------------- ??? [55] 100.0% [61] 1466(8.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [65] 62.9% ??? [69] 37.1% ----------------------------------------------------------------------- ??? [55] 49.3% ->flonum [41] 50.7% [62] 426(2.4%) 426(2.4%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- simplify [57] 100.0% [63] 210(1.2%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:221:0 make-multiplication-subnode [66]100.0% ----------------------------------------------------------------------- bf* [60] 23.5% ??? [55] 76.5% [64] 6468(36.3%) 910(5.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [67] 38.2% bfsqrt [68] 35.5% ??? [70] 12.2% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [61] 100.0% [65] 922(5.2%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [69] 100.0% ----------------------------------------------------------------------- make-multiplication-node [63] 100.0% [66] 210(1.2%) 210(1.2%) make-multiplication-subnode ...re/reduce.rkt:231:0 ----------------------------------------------------------------------- ??? [64] 100.0% [67] 2474(13.9%) 2474(13.9%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ----------------------------------------------------------------------- ??? [64] 100.0% [68] 2296(12.9%) 1282(7.2%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [71] 44.2% ----------------------------------------------------------------------- ??? [52] 14.7% ...higher-order.rkt:373:33 [61] 31.7% ??? [65] 53.7% [69] 1718(9.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [70] 100.0% ----------------------------------------------------------------------- ??? [64] 31.4% ??? [69] 68.6% [70] 2506(14.1%) 902(5.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [72] 52.8% ??? [73] 11.2% ----------------------------------------------------------------------- bfsqrt [68] 49.7% real->bigfloat [56] 50.3% [71] 2042(11.5%) 2042(11.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [70] 100.0% [72] 1324(7.4%) 1324(7.4%) ??? ...llects/racket/contract/combinator.rkt:178:4 ----------------------------------------------------------------------- ??? [70] 100.0% [73] 280(1.6%) 280(1.6%) ??? ...ects/racket/contract/private/prop.rkt:489:4 -----------------------------------------------------------------------