Profiling results ----------------- Total cpu time observed: 19588ms (out of 19820ms) Number of samples taken: 81 (once every 242ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [15] 100.0% [1] 18496(94.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ----------------------------------------------------------------------- loop [52] 6.9% ??? [15] 93.1% [2] 2974(15.2%) 200(1.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [9] 71.7% for-loop [11] 8.1% loop [14] 6.7% iterate-egraph!5 [16] 6.7% ----------------------------------------------------------------------- copying-mergesort [64] 100.0% [3] 2010(10.3%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [72] 100.0% ----------------------------------------------------------------------- hash-ref! [85] 100.0% [4] 460(2.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [52] 100.0% ----------------------------------------------------------------------- hash-ref! [85] 100.0% [5] 400(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [10] 100.0% ----------------------------------------------------------------------- hash-ref! [85] 100.0% [6] 202(1.0%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [52] 50.0% curried [12] 50.0% ----------------------------------------------------------------------- hash-ref! [85] 100.0% [7] 202(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [13] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 98.9% [8] 18696(95.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [15] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [9] 2132(10.9%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 100.0% ----------------------------------------------------------------------- ??? [5] 100.0% [10] 400(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [85] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [11] 242(1.2%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [16] 100.0% ----------------------------------------------------------------------- parse-loop12 [6] 100.0% [12] 202(1.0%) 202(1.0%) curried ...cket/collects/racket/function.rkt:71:18 ----------------------------------------------------------------------- ??? [7] 100.0% [13] 202(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 simplify [17] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [14] 200(1.0%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [18] 100.0% ----------------------------------------------------------------------- for-loop [47] 4.8% run [8] 46.4% [15] 19374(98.9%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 45.4% loop [23] 27.7% run-improve58 [19] 22.2% simplify [2] 4.8% ----------------------------------------------------------------------- simplify [2] 7.8% for-loop [11] 9.4% simplify-expr [9] 82.8% [16] 2574(13.1%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [20] 100.0% ----------------------------------------------------------------------- hash-ref! [85] 49.5% for-loop [13] 50.5% [17] 400(2.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f94 [73] 50.5% make-multiplication-node [22] 49.5% ----------------------------------------------------------------------- loop [14] 100.0% [18] 200(1.0%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [21] 100.0% ----------------------------------------------------------------------- ??? [15] 100.0% [19] 8846(45.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [24] 54.8% for-loop [25] 40.4% loop [23] 4.8% ----------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [20] 2574(13.1%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [26] 72.8% loop [27] 27.2% ----------------------------------------------------------------------- pass [18] 100.0% [21] 200(1.0%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 for-loop [28] 100.0% ----------------------------------------------------------------------- simplify [17] 100.0% [22] 198(1.0%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:221:0 make-multiplication-subnode [29]100.0% ----------------------------------------------------------------------- run-improve58 [19] 3.9% ??? [15] 96.1% [23] 10956(55.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [30] 51.1% make-exacts* [36] 31.7% loop [38] 17.2% ----------------------------------------------------------------------- run-improve58 [19] 100.0% [24] 4848(24.7%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [31] 95.8% extract-alt [34] 4.2% ----------------------------------------------------------------------- run-improve58 [19] 100.0% [25] 3570(18.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [32] 100.0% ----------------------------------------------------------------------- for-loop [26] 44.7% one-iter [20] 55.3% [26] 1874(9.6%) 200(1.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [26] 44.7% match-e [40] 44.7% ----------------------------------------------------------------------- one-iter [20] 100.0% [27] 700(3.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [33] 100.0% ----------------------------------------------------------------------- for-loop [21] 100.0% [28] 200(1.0%) 200(1.0%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ----------------------------------------------------------------------- make-multiplication-node [22] 100.0% [29] 198(1.0%) 0(0.0%) make-multiplication-subnode ...re/reduce.rkt:231:0 for-loop [35] 100.0% ----------------------------------------------------------------------- loop [23] 100.0% [30] 5600(28.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [36] 56.2% loop [38] 34.1% eval-prog [76] 9.7% ----------------------------------------------------------------------- get-final-combination [24] 100.0% [31] 4642(23.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [37] 100.0% ----------------------------------------------------------------------- for-loop [25] 100.0% [32] 3570(18.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [39] 77.5% gen-series! [41] 11.2% localize-error [43] 5.7% finalize-iter! [44] 5.6% ----------------------------------------------------------------------- loop [27] 100.0% [33] 700(3.6%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [40] 68.6% loop! [42] 31.4% ----------------------------------------------------------------------- get-final-combination [24] 100.0% [34] 206(1.1%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [52] 100.0% ----------------------------------------------------------------------- make-multiplication-subnode [29]100.0% [35] 198(1.0%) 198(1.0%) for-loop ...tlock/herbie/src/core/reduce.rkt:233:3 ----------------------------------------------------------------------- loop [30] 47.6% loop [23] 52.4% [36] 6616(33.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [45] 52.7% loop [52] 43.8% eval-prog [76] 3.4% ----------------------------------------------------------------------- split-table [31] 100.0% [37] 4642(23.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [46] 100.0% ----------------------------------------------------------------------- loop [23] 49.7% loop [30] 50.3% [38] 3798(19.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [45] 100.0% ----------------------------------------------------------------------- run-iter! [32] 100.0% [39] 2768(14.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [47] 100.0% ----------------------------------------------------------------------- for-loop [54] 10.7% apply-match [33] 16.7% for-loop [26] 72.6% [40] 2154(11.0%) 1712(8.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [48] 26.1% for-loop [54] 5.2% ----------------------------------------------------------------------- run-iter! [32] 100.0% [41] 400(2.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [49] 100.0% ----------------------------------------------------------------------- apply-match [33] 100.0% [42] 220(1.1%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 set [50] 100.0% ----------------------------------------------------------------------- run-iter! [32] 100.0% [43] 202(1.0%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [85] 100.0% ----------------------------------------------------------------------- run-iter! [32] 100.0% [44] 200(1.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [51] 100.0% ----------------------------------------------------------------------- f94 [73] 2.7% make-exacts* [36] 46.6% loop [38] 50.7% [45] 7488(38.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [52] 97.3% ??? [61] 2.7% ----------------------------------------------------------------------- infer-splitpoints4 [37] 100.0% [46] 4642(23.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [53] 90.9% err-lsts->split-indices [56] 4.8% loop [52] 4.3% ----------------------------------------------------------------------- simplify! [39] 100.0% [47] 2768(14.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [15] 100.0% ----------------------------------------------------------------------- match-e [40] 100.0% [48] 682(3.5%) 442(2.3%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [54] 35.2% ----------------------------------------------------------------------- gen-series! [41] 100.0% [49] 400(2.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [55] 100.0% ----------------------------------------------------------------------- loop! [42] 100.0% [50] 220(1.1%) 220(1.1%) set ...collects/racket/private/set-types.rkt:982:0 ----------------------------------------------------------------------- finalize-iter! [44] 100.0% [51] 200(1.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [57] 100.0% ----------------------------------------------------------------------- make-exacts* [36] 0.1% option-on-expr [46] 0.9% extract-alt [34] 0.9% parse-loop12 [6] 1.8% ??? [4] 4.1% map [45] 4.6% loop [52] 87.6% [52] 11254(57.5%) 240(1.2%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [52] 87.6% ??? [75] 4.7% hash-ref! [85] 2.0% ??? [61] 1.8% simplify [2] 0.9% errors [63] 0.9% ->flonum [79] 0.0% ----------------------------------------------------------------------- option-on-expr [46] 100.0% [53] 4218(21.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [58] 100.0% ----------------------------------------------------------------------- match-e [40] 48.1% for-loop [48] 51.9% [54] 462(2.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [40] 100.0% ----------------------------------------------------------------------- for-loop [49] 100.0% [55] 400(2.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [59] 100.0% ----------------------------------------------------------------------- option-on-expr [46] 100.0% [56] 224(1.1%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [60] 100.0% ----------------------------------------------------------------------- ??? [51] 100.0% [57] 200(1.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [62] 100.0% ----------------------------------------------------------------------- sort-context-on-expr [53] 100.0% [58] 4218(21.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [64] 74.2% loop [69] 25.8% ----------------------------------------------------------------------- taylor-alt [55] 100.0% [59] 400(2.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [65] 100.0% ----------------------------------------------------------------------- err-lsts->split-indices [56] 100.0% [60] 224(1.1%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [66] 100.0% ----------------------------------------------------------------------- loop [52] 50.0% map [45] 50.0% [61] 202(1.0%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [85] 100.0% ----------------------------------------------------------------------- for-loop [57] 100.0% [62] 200(1.0%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 hash-set-lsts [67] 100.0% ----------------------------------------------------------------------- loop [52] 100.0% [63] 200(1.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [68] 100.0% ----------------------------------------------------------------------- sort [58] 38.4% copying-mergesort [64] 61.6% [64] 3128(16.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [64] 61.6% loop [69] 22.3% jloop [3] 16.1% ----------------------------------------------------------------------- location-do [65] 33.7% for-loop [59] 66.3% [65] 400(2.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [70] 66.3% location-do [65] 33.7% ----------------------------------------------------------------------- add-splitpoint [60] 100.0% [66] 224(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [71] 100.0% ----------------------------------------------------------------------- atab-add-altn [62] 100.0% [67] 200(1.0%) 200(1.0%) hash-set-lsts ...rbie/src/core/alt-table.rkt:111:0 ----------------------------------------------------------------------- errors [63] 100.0% [68] 200(1.0%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [75] 100.0% ----------------------------------------------------------------------- sort [58] 49.4% copying-mergesort [64] 50.6% [69] 2208(11.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [72] 100.0% ----------------------------------------------------------------------- location-do [65] 100.0% [70] 400(2.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [74] 50.5% f94 [73] 49.5% ----------------------------------------------------------------------- for-loop [66] 100.0% [71] 224(1.1%) 224(1.1%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ----------------------------------------------------------------------- jloop [3] 47.7% loop [69] 52.3% [72] 4218(21.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [76] 95.1% ??? [75] 4.9% ----------------------------------------------------------------------- approximate9 [70] 32.9% hash-ref! [85] 33.6% simplify [17] 33.6% [73] 602(3.1%) 202(1.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 map [45] 33.6% taylor-quotient [77] 32.9% ----------------------------------------------------------------------- approximate9 [70] 100.0% [74] 202(1.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [85] 100.0% ----------------------------------------------------------------------- for-loop [68] 2.0% ??? [72] 2.0% loop [52] 96.0% [75] 10164(51.9%) 1180(6.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [78] 49.3% real->bigfloat [83] 34.7% ...e/case-arrow.rkt:150:50 [80] 2.4% ->flonum [79] 2.0% ----------------------------------------------------------------------- make-exacts* [36] 4.8% loop [30] 11.3% ??? [72] 83.9% [76] 4780(24.4%) 3778(19.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [85] 15.9% inductor [81] 5.1% ----------------------------------------------------------------------- f94 [73] 100.0% [77] 198(1.0%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:328:0 first-nonzero-exp [82] 100.0% ----------------------------------------------------------------------- ??? [75] 100.0% [78] 5012(25.6%) 208(1.1%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [84] 54.9% ...higher-order.rkt:373:33 [86] 22.0% ??? [88] 19.0% ----------------------------------------------------------------------- ??? [75] 31.7% loop [52] 68.3% [79] 630(3.2%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [87] 65.7% ??? [97] 34.3% ----------------------------------------------------------------------- ??? [75] 100.0% [80] 242(1.2%) 242(1.2%) ...e/case-arrow.rkt:150:50 (unknown source) ----------------------------------------------------------------------- eval-prog [76] 33.3% inductor [81] 66.7% [81] 242(1.2%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [81] 66.7% real->bigfloat [83] 33.3% ----------------------------------------------------------------------- taylor-quotient [77] 100.0% [82] 198(1.0%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:260:0 hash-ref! [85] 100.0% ----------------------------------------------------------------------- inductor [81] 6.4% ??? [75] 93.6% [83] 3772(19.3%) 3212(16.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [98] 14.8% ----------------------------------------------------------------------- ??? [78] 100.0% [84] 2750(14.0%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [88] 100.0% ----------------------------------------------------------------------- ??? [91] 3.0% ??? [92] 3.0% loop [74] 3.0% localize-error [43] 4.9% first-nonzero-exp [82] 7.3% loop [52] 8.1% ??? [61] 9.9% for-loop [10] 13.2% eval-prog [76] 47.7% [85] 1362(7.0%) 220(1.1%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 25.7% bigfloat-hash [89] 22.0% ??? [5] 13.2% parse-loop12 [6] 9.9% simplify [17] 7.3% f94 [73] 4.9% ??? [92] 3.0% ??? [91] 3.0% ??? [7] 3.0% ----------------------------------------------------------------------- ??? [78] 100.0% [86] 1102(5.6%) 280(1.4%) ...higher-order.rkt:373:33 (unknown source) ??? [94] 48.5% ??? [90] 26.1% ----------------------------------------------------------------------- ->flonum [79] 100.0% [87] 414(2.1%) 414(2.1%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- ??? [78] 25.7% bf* [84] 74.3% [88] 3702(18.9%) 688(3.5%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [97] 38.3% bfmul [93] 37.1% bfabs [96] 6.1% ----------------------------------------------------------------------- hash-ref! [85] 100.0% [89] 300(1.5%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [95] 100.0% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [86] 100.0% [90] 288(1.5%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [94] 100.0% ----------------------------------------------------------------------- hash-ref! [85] 100.0% [91] 202(1.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [85] 100.0% ----------------------------------------------------------------------- hash-ref! [85] 100.0% [92] 202(1.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [85] 100.0% ----------------------------------------------------------------------- ??? [88] 100.0% [93] 1372(7.0%) 1152(5.9%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [98] 16.0% ----------------------------------------------------------------------- ??? [90] 35.0% ...higher-order.rkt:373:33 [86] 65.0% [94] 822(4.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [97] 100.0% ----------------------------------------------------------------------- bigfloat-hash [89] 100.0% [95] 300(1.5%) 300(1.5%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- ??? [88] 100.0% [96] 224(1.1%) 224(1.1%) bfabs ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ----------------------------------------------------------------------- ->flonum [79] 8.8% ??? [94] 33.5% ??? [88] 57.7% [97] 2456(12.5%) 864(4.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [99] 64.8% ----------------------------------------------------------------------- bfmul [93] 28.2% real->bigfloat [83] 71.8% [98] 780(4.0%) 780(4.0%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [97] 100.0% [99] 1592(8.1%) 716(3.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [100] 55.0% ----------------------------------------------------------------------- ??? [99] 100.0% [100] 876(4.5%) 876(4.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------