Profiling results ----------------- Total cpu time observed: 20868ms (out of 21208ms) Number of samples taken: 97 (once every 215ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [6] 100.0% [1] 20112(96.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% --------------------------------------------------------------------- copying-mergesort [53] 100.0% [2] 1230(5.9%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [63] 100.0% --------------------------------------------------------------------- hash-ref! [75] 100.0% [3] 202(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [5] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 20112(96.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [6] 100.0% --------------------------------------------------------------------- ??? [3] 100.0% [5] 202(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 hash-ref! [75] 100.0% --------------------------------------------------------------------- for-loop [24] 3.2% run [4] 47.2% [6] 20686(99.1%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.2% loop [8] 29.3% run-improve58 [7] 20.3% simplify [19] 3.2% --------------------------------------------------------------------- ??? [6] 100.0% [7] 8570(41.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [9] 57.9% for-loop [10] 31.5% loop [8] 8.0% setup-prog [11] 2.6% --------------------------------------------------------------------- run-improve58 [7] 5.4% ??? [6] 94.6% [8] 12802(61.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [12] 46.2% make-exacts* [16] 32.0% loop [17] 21.8% --------------------------------------------------------------------- run-improve58 [7] 100.0% [9] 4960(23.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [13] 100.0% --------------------------------------------------------------------- run-improve58 [7] 100.0% [10] 2702(12.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% --------------------------------------------------------------------- run-improve58 [7] 100.0% [11] 222(1.1%) 0(0.0%) setup-prog /home/ztatlock/herbie/src/glue.rkt:46:0 simplify-alt [15] 100.0% --------------------------------------------------------------------- loop [8] 100.0% [12] 5916(28.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [16] 50.9% loop [17] 49.1% --------------------------------------------------------------------- get-final-combination [9] 100.0% [13] 4960(23.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [18] 100.0% --------------------------------------------------------------------- for-loop [10] 100.0% [14] 2702(12.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 70.1% finalize-iter! [21] 22.4% gen-series! [22] 7.5% --------------------------------------------------------------------- setup-prog [11] 100.0% [15] 222(1.1%) 0(0.0%) simplify-alt .../ztatlock/herbie/src/glue.rkt:84:0 simplify [19] 100.0% --------------------------------------------------------------------- loop [12] 42.4% loop [8] 57.6% [16] 7106(34.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [23] 53.3% loop [28] 41.2% eval-prog [66] 5.5% --------------------------------------------------------------------- loop [8] 49.1% loop [12] 50.9% [17] 5696(27.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [23] 100.0% --------------------------------------------------------------------- split-table [13] 100.0% [18] 4960(23.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [32] 87.6% loop [28] 12.4% --------------------------------------------------------------------- simplify-alt [15] 10.5% ??? [6] 89.5% [19] 2116(10.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [29] 50.5% simplify-expr [25] 49.5% --------------------------------------------------------------------- run-iter! [14] 100.0% [20] 1894(9.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [24] 100.0% --------------------------------------------------------------------- run-iter! [14] 100.0% [21] 606(2.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [26] 100.0% --------------------------------------------------------------------- run-iter! [14] 100.0% [22] 202(1.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [27] 100.0% --------------------------------------------------------------------- make-exacts* [16] 39.9% loop [17] 60.1% [23] 9484(45.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [28] 97.7% ??? [58] 2.3% --------------------------------------------------------------------- simplify! [20] 100.0% [24] 1894(9.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [6] 100.0% --------------------------------------------------------------------- simplify [19] 100.0% [25] 1048(5.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [29] 100.0% --------------------------------------------------------------------- finalize-iter! [21] 100.0% [26] 606(2.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [30] 100.0% --------------------------------------------------------------------- gen-series! [22] 100.0% [27] 202(1.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [31] 100.0% --------------------------------------------------------------------- make-exacts* [16] 0.2% map [23] 3.7% infer-splitpoints4 [18] 4.7% loop [28] 91.3% [28] 12990(62.2%) 334(1.6%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [28] 91.3% option-on-expr [32] 4.7% ??? [58] 2.2% ->flonum [34] 1.8% --------------------------------------------------------------------- simplify-expr [25] 49.5% simplify [19] 50.5% [29] 2116(10.1%) 624(3.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [33] 70.5% --------------------------------------------------------------------- ??? [26] 100.0% [30] 606(2.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [35] 100.0% --------------------------------------------------------------------- for-loop [27] 100.0% [31] 202(1.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [36] 100.0% --------------------------------------------------------------------- loop [28] 12.4% infer-splitpoints4 [18] 87.6% [32] 4960(23.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [37] 88.9% pick-errors [40] 7.8% err-lsts->split-indices [44] 3.3% --------------------------------------------------------------------- iterate-egraph!5 [29] 100.0% [33] 1492(7.1%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [38] 85.1% loop [41] 14.9% --------------------------------------------------------------------- loop [28] 100.0% [34] 800(3.8%) 230(1.1%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [67] 48.8% ??? [78] 22.5% --------------------------------------------------------------------- for-loop [30] 100.0% [35] 606(2.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [39] 66.7% override-at-pnts [43] 33.3% --------------------------------------------------------------------- taylor-alt [31] 100.0% [36] 202(1.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [42] 100.0% --------------------------------------------------------------------- option-on-expr [32] 100.0% [37] 4408(21.1%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [45] 100.0% --------------------------------------------------------------------- for-loop [38] 50.0% one-iter [33] 50.0% [38] 1270(6.1%) 200(1.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [38] 50.0% match-e [46] 42.1% --------------------------------------------------------------------- atab-add-altn [35] 100.0% [39] 404(1.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [50] 50.0% errors [47] 50.0% --------------------------------------------------------------------- option-on-expr [32] 100.0% [40] 388(1.9%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [48] 100.0% --------------------------------------------------------------------- one-iter [33] 100.0% [41] 222(1.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [49] 100.0% --------------------------------------------------------------------- for-loop [36] 100.0% [42] 202(1.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [51] 100.0% --------------------------------------------------------------------- atab-add-altn [35] 100.0% [43] 202(1.0%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [47] 100.0% --------------------------------------------------------------------- option-on-expr [32] 100.0% [44] 164(0.8%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [52] 100.0% --------------------------------------------------------------------- sort-context-on-expr [37] 100.0% [45] 4408(21.1%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [53] 77.0% loop [59] 23.0% --------------------------------------------------------------------- for-loop [38] 100.0% [46] 1070(5.1%) 1070(5.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 --------------------------------------------------------------------- best-and-tied-at-points [39] 50.0% override-at-pnts [43] 50.0% [47] 404(1.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [55] 50.0% eval-prog [66] 50.0% --------------------------------------------------------------------- pick-errors [40] 100.0% [48] 388(1.9%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [66] 100.0% --------------------------------------------------------------------- loop [41] 100.0% [49] 222(1.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [54] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [39] 100.0% [50] 202(1.0%) 202(1.0%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 --------------------------------------------------------------------- location-do [42] 100.0% [51] 202(1.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [56] 100.0% --------------------------------------------------------------------- err-lsts->split-indices [44] 100.0% [52] 164(0.8%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [57] 100.0% --------------------------------------------------------------------- copying-mergesort [53] 46.0% sort [45] 54.0% [53] 3392(16.3%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [53] 46.0% loop [59] 45.0% jloop [2] 9.1% --------------------------------------------------------------------- apply-match [49] 100.0% [54] 222(1.1%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [60] 100.0% --------------------------------------------------------------------- errors [47] 100.0% [55] 202(1.0%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [58] 100.0% --------------------------------------------------------------------- approximate9 [51] 100.0% [56] 202(1.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [75] 100.0% --------------------------------------------------------------------- add-splitpoint [52] 100.0% [57] 164(0.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [61] 100.0% --------------------------------------------------------------------- for-loop [55] 1.7% map [23] 1.9% loop [28] 96.4% [58] 11662(55.9%) 598(2.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [62] 59.9% real->bigfloat [64] 30.1% ??? [72] 4.9% --------------------------------------------------------------------- sort [45] 32.0% copying-mergesort [53] 68.0% [59] 3178(15.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [63] 100.0% --------------------------------------------------------------------- merge-egraph-nodes! [54] 100.0% [60] 222(1.1%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 for-loop [65] 100.0% --------------------------------------------------------------------- for-loop [57] 100.0% [61] 164(0.8%) 164(0.8%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 --------------------------------------------------------------------- ??? [58] 100.0% [62] 6988(33.5%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [71] 86.1% bf* [68] 8.3% ??? [67] 2.9% ...higher-order.rkt:373:33 [70] 2.8% --------------------------------------------------------------------- jloop [2] 27.9% loop [59] 72.1% [63] 4408(21.1%) 682(3.3%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [66] 84.5% --------------------------------------------------------------------- ??? [58] 100.0% [64] 3508(16.8%) 2732(13.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [89] 22.1% --------------------------------------------------------------------- update-leader! [60] 100.0% [65] 222(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:222:6 for-loop [69] 100.0% --------------------------------------------------------------------- errors [47] 4.3% for-loop [48] 8.2% make-exacts* [16] 8.3% ??? [63] 79.2% [66] 4706(22.6%) 3132(15.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [73] 12.5% go [74] 11.8% parse-app [76] 4.7% hash-ref! [75] 4.5% --------------------------------------------------------------------- ??? [62] 34.1% ->flonum [34] 65.9% [67] 592(2.8%) 592(2.8%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [62] 100.0% [68] 578(2.8%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [71] 100.0% --------------------------------------------------------------------- for-loop [65] 100.0% [69] 222(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:223:8 hash-update! [77] 100.0% --------------------------------------------------------------------- ??? [62] 100.0% [70] 194(0.9%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [72] 100.0% --------------------------------------------------------------------- bf* [68] 8.8% ??? [62] 91.2% [71] 6592(31.6%) 3386(16.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bflog [79] 22.0% ??? [78] 14.7% bfmul [80] 12.0% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [70] 25.5% ??? [58] 74.5% [72] 762(3.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [78] 100.0% --------------------------------------------------------------------- eval-prog [66] 100.0% [73] 586(2.8%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [81] 100.0% --------------------------------------------------------------------- eval-prog [66] 100.0% [74] 556(2.7%) 314(1.5%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [82] 43.5% --------------------------------------------------------------------- ??? [86] 8.2% for-loop [5] 8.2% ??? [87] 8.2% loop [56] 8.2% ??? [88] 16.3% eval-prog [66] 51.0% [75] 412(2.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [84] 51.0% ??? [88] 16.3% ??? [87] 8.2% ??? [3] 8.2% ??? [86] 8.2% simplify [85] 8.2% --------------------------------------------------------------------- eval-prog [66] 100.0% [76] 222(1.1%) 222(1.1%) parse-app .../collects/racket/private/kw.rkt:903:2 --------------------------------------------------------------------- for-loop [69] 100.0% [77] 222(1.1%) 0(0.0%) hash-update! ...ket/private/more-scheme.rkt:362:13 ??? [83] 100.0% --------------------------------------------------------------------- ->flonum [34] 9.4% ??? [72] 39.9% ??? [71] 50.6% [78] 1908(9.1%) 944(4.5%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [90] 39.2% ??? [92] 11.3% --------------------------------------------------------------------- ??? [71] 100.0% [79] 1452(7.0%) 898(4.3%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [89] 38.2% --------------------------------------------------------------------- ??? [71] 100.0% [80] 788(3.8%) 788(3.8%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 --------------------------------------------------------------------- ??? [73] 100.0% [81] 586(2.8%) 586(2.8%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 --------------------------------------------------------------------- loop [82] 50.0% go [74] 50.0% [82] 242(1.2%) 242(1.2%) loop ...llects/racket/private/qq-and-or.rkt:101:61 loop [82] 50.0% --------------------------------------------------------------------- hash-update! [77] 100.0% [83] 222(1.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/egraph.rkt:225:24 for-loop [91] 100.0% --------------------------------------------------------------------- hash-ref! [75] 100.0% [84] 210(1.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [93] 100.0% --------------------------------------------------------------------- hash-ref! [75] 100.0% [85] 202(1.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [94] 100.0% --------------------------------------------------------------------- hash-ref! [75] 100.0% [86] 202(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [75] 100.0% --------------------------------------------------------------------- hash-ref! [75] 100.0% [87] 202(1.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [75] 100.0% --------------------------------------------------------------------- hash-ref! [75] 100.0% [88] 202(1.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [75] 100.0% --------------------------------------------------------------------- bflog [79] 41.7% real->bigfloat [64] 58.3% [89] 1330(6.4%) 1330(6.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [78] 100.0% [90] 748(3.6%) 0(0.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [95] 100.0% --------------------------------------------------------------------- ??? [83] 100.0% [91] 222(1.1%) 222(1.1%) for-loop ...lock/herbie/src/core/egraph.rkt:226:26 --------------------------------------------------------------------- ??? [78] 100.0% [92] 216(1.0%) 216(1.0%) ??? ...ects/racket/contract/private/prop.rkt:489:4 --------------------------------------------------------------------- bigfloat-hash [84] 100.0% [93] 210(1.0%) 0(0.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 integer->mpz [96] 100.0% --------------------------------------------------------------------- simplify [85] 33.3% parse-loop50 [94] 66.7% [94] 202(1.0%) 202(1.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [94] 66.7% --------------------------------------------------------------------- ??? [90] 100.0% [95] 748(3.6%) 748(3.6%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 --------------------------------------------------------------------- sig+exp->bigfloat [93] 100.0% [96] 210(1.0%) 210(1.0%) integer->mpz ...math/private/bigfloat/gmp.rkt:87:0 ---------------------------------------------------------------------