Profiling results ----------------- Total cpu time observed: 15078ms (out of 15436ms) Number of samples taken: 65 (once every 232ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [31] 100.0% [1] 14622(97.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [31] 100.0% [2] 5076(33.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [8] 58.8% for-loop [9] 34.0% finalize-table! [11] 7.2% ---------------------------------------------------------------------- ??? [31] 100.0% [3] 900(6.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [10] 80.0% for-loop [13] 20.0% ---------------------------------------------------------------------- loop [64] 100.0% [4] 248(1.6%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [56] 50.0% map [61] 50.0% ---------------------------------------------------------------------- loop [64] 100.0% [5] 184(1.2%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [10] 100.0% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [6] 182(1.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [12] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 98.1% [7] 14898(98.8%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [31] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 2986(19.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [14] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1726(11.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% ---------------------------------------------------------------------- completely-simplify-alt [5] 20.4% simplify [3] 79.6% [10] 904(6.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [16] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [11] 364(2.4%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [17] 100.0% ---------------------------------------------------------------------- ??? [6] 100.0% [12] 182(1.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [56] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [13] 180(1.2%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [16] 100.0% ---------------------------------------------------------------------- get-final-combination [8] 100.0% [14] 2986(19.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [18] 100.0% ---------------------------------------------------------------------- for-loop [9] 100.0% [15] 1726(11.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 52.1% finalize-iter! [21] 22.9% localize-error [22] 14.4% gen-series! [23] 10.5% ---------------------------------------------------------------------- for-loop [13] 16.6% simplify-expr [10] 83.4% [16] 1084(7.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 100.0% ---------------------------------------------------------------------- finalize-table! [11] 100.0% [17] 364(2.4%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 loop [64] 50.5% for-loop [24] 49.5% ---------------------------------------------------------------------- split-table [14] 100.0% [18] 2986(19.8%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [65] 72.9% loop [64] 27.1% ---------------------------------------------------------------------- iterate-egraph!5 [16] 100.0% [19] 1084(7.2%) 180(1.2%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [26] 50.2% loop [28] 33.2% ---------------------------------------------------------------------- run-iter! [15] 100.0% [20] 900(6.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [25] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [21] 396(2.6%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [27] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [22] 248(1.6%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [56] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [23] 182(1.2%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [29] 100.0% ---------------------------------------------------------------------- post-process [17] 100.0% [24] 180(1.2%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [30] 100.0% ---------------------------------------------------------------------- simplify! [20] 100.0% [25] 900(6.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [31] 100.0% ---------------------------------------------------------------------- for-loop [26] 50.0% one-iter [19] 50.0% [26] 544(3.6%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [26] 50.0% match-e [32] 50.0% ---------------------------------------------------------------------- finalize-iter! [21] 100.0% [27] 396(2.6%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-add-altns [35] 54.5% for-loop [36] 45.5% ---------------------------------------------------------------------- one-iter [19] 100.0% [28] 360(2.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [34] 100.0% ---------------------------------------------------------------------- gen-series! [23] 100.0% [29] 182(1.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [33] 100.0% ---------------------------------------------------------------------- for-loop [24] 100.0% [30] 180(1.2%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [33] 100.0% ---------------------------------------------------------------------- for-loop [25] 2.2% run [7] 49.5% [31] 15078(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.7% loop [37] 34.1% run-improve58 [2] 16.0% simplify [3] 2.2% ---------------------------------------------------------------------- for-loop [26] 100.0% [32] 544(3.6%) 184(1.2%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [40] 33.1% for-loop [41] 33.1% ---------------------------------------------------------------------- append-map [30] 49.7% for-loop [29] 50.3% [33] 362(2.4%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [39] 100.0% ---------------------------------------------------------------------- loop [28] 100.0% [34] 360(2.4%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [42] 50.0% for-loop [43] 50.0% ---------------------------------------------------------------------- ??? [27] 100.0% [35] 216(1.4%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [38] 100.0% ---------------------------------------------------------------------- ??? [27] 100.0% [36] 180(1.2%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [38] 100.0% ---------------------------------------------------------------------- ??? [31] 100.0% [37] 10002(66.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [44] 48.7% make-exacts* [49] 37.4% loop [50] 11.1% for-loop [47] 2.8% ---------------------------------------------------------------------- for-loop [36] 45.5% atab-add-altns [35] 54.5% [38] 396(2.6%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [45] 100.0% ---------------------------------------------------------------------- taylor-alt [33] 100.0% [39] 362(2.4%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% ---------------------------------------------------------------------- match-e [32] 100.0% [40] 180(1.2%) 180(1.2%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ---------------------------------------------------------------------- match-e [32] 100.0% [41] 180(1.2%) 180(1.2%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ---------------------------------------------------------------------- apply-match [34] 100.0% [42] 180(1.2%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 for-loop [48] 100.0% ---------------------------------------------------------------------- apply-match [34] 100.0% [43] 180(1.2%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 loop! [66] 100.0% ---------------------------------------------------------------------- loop [37] 100.0% [44] 4870(32.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [50] 62.3% make-exacts* [49] 37.7% ---------------------------------------------------------------------- atab-add-altn [38] 100.0% [45] 396(2.6%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [51] 100.0% ---------------------------------------------------------------------- location-do [46] 25.1% for-loop [39] 74.9% [46] 362(2.4%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [52] 74.9% location-do [46] 25.1% ---------------------------------------------------------------------- loop [37] 100.0% [47] 276(1.8%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [53] 100.0% ---------------------------------------------------------------------- merge-egraph-nodes! [42] 100.0% [48] 180(1.2%) 0(0.0%) for-loop ...lock/herbie/src/core/egraph.rkt:200:10 loop! [66] 100.0% ---------------------------------------------------------------------- loop [44] 32.9% loop [37] 67.1% [49] 5576(37.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [64] 54.2% map [61] 45.8% ---------------------------------------------------------------------- loop [37] 26.8% loop [44] 73.2% [50] 4150(27.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [61] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [45] 100.0% [51] 396(2.6%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [54] 100.0% ---------------------------------------------------------------------- location-do [46] 100.0% [52] 362(2.4%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [55] 100.0% ---------------------------------------------------------------------- for-loop [47] 100.0% [53] 276(1.8%) 276(1.8%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 ---------------------------------------------------------------------- errors [51] 100.0% [54] 396(2.6%) 216(1.4%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [79] 45.5% ---------------------------------------------------------------------- approximate9 [52] 100.0% [55] 362(2.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [56] 100.0% ---------------------------------------------------------------------- for-loop [12] 7.5% ??? [59] 7.5% ??? [4] 20.3% localize-error [22] 20.3% ??? [57] 22.2% loop [55] 22.2% [56] 610(4.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [57] 22.2% simplify [58] 22.2% parse-loop12 [63] 20.3% f6 [60] 20.3% ??? [59] 7.5% ??? [6] 7.5% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [57] 362(2.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [56] 100.0% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [58] 362(2.4%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop12 [63] 50.3% f6 [60] 49.7% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [59] 182(1.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:357:30 hash-ref! [56] 100.0% ---------------------------------------------------------------------- simplify [58] 5.9% map [61] 23.6% parse-loop12 [63] 29.8% hash-ref! [56] 40.7% [60] 610(4.0%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [61] 94.1% combine-mterms [62] 5.9% ---------------------------------------------------------------------- ??? [4] 1.7% f6 [60] 6.6% make-exacts* [49] 34.9% loop [50] 56.7% [61] 7316(48.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [64] 93.4% parse-loop12 [63] 2.5% f6 [60] 2.5% ->flonum [83] 1.7% ---------------------------------------------------------------------- f6 [60] 100.0% [62] 180(1.2%) 180(1.2%) combine-mterms ...herbie/src/core/reduce.rkt:182:0 ---------------------------------------------------------------------- map [61] 10.6% simplify [58] 10.6% parse-loop12 [63] 21.2% hash-ref! [56] 57.7% [63] 430(2.9%) 182(1.2%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [64] 57.7% parse-loop12 [63] 21.2% f6 [60] 10.6% ---------------------------------------------------------------------- parse-loop12 [63] 0.0% make-exacts* [49] 0.3% loop! [66] 0.5% post-process [17] 0.6% map [61] 1.2% infer-splitpoints4 [18] 7.3% loop [64] 90.1% [64] 11148(73.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [64] 90.1% option-on-expr [65] 7.3% ??? [79] 1.5% completely-simplify-alt [5] 0.6% loop! [66] 0.5% ??? [4] 0.1% ---------------------------------------------------------------------- loop [64] 27.1% infer-splitpoints4 [18] 72.9% [65] 2986(19.8%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [67] 93.9% pick-errors [68] 6.1% ---------------------------------------------------------------------- loop [64] 25.0% for-loop [43] 25.0% for-loop [48] 50.0% [66] 360(2.4%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [70] 50.0% loop [64] 25.0% update-en-expr [69] 25.0% ---------------------------------------------------------------------- option-on-expr [65] 100.0% [67] 2804(18.6%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [71] 100.0% ---------------------------------------------------------------------- option-on-expr [65] 100.0% [68] 182(1.2%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [72] 100.0% ---------------------------------------------------------------------- loop! [66] 100.0% [69] 180(1.2%) 180(1.2%) update-en-expr ...herbie/src/core/egraph.rkt:211:0 ---------------------------------------------------------------------- loop! [66] 100.0% [70] 180(1.2%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [73] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [67] 100.0% [71] 2804(18.6%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [74] 72.0% loop [76] 28.0% ---------------------------------------------------------------------- pick-errors [68] 100.0% [72] 182(1.2%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [80] 100.0% ---------------------------------------------------------------------- custom-set-union [70] 100.0% [73] 180(1.2%) 0(0.0%) for-loop ...cts/racket/private/set-types.rkt:174:3 for-loop [75] 100.0% ---------------------------------------------------------------------- copying-mergesort [74] 39.1% sort [71] 60.9% [74] 2018(13.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [76] 53.6% copying-mergesort [74] 39.1% jloop [77] 7.4% ---------------------------------------------------------------------- for-loop [73] 100.0% [75] 180(1.2%) 180(1.2%) for-loop ...cts/racket/private/set-types.rkt:178:5 ---------------------------------------------------------------------- sort [71] 35.6% copying-mergesort [74] 64.4% [76] 2210(14.7%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [78] 100.0% ---------------------------------------------------------------------- copying-mergesort [74] 100.0% [77] 594(3.9%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [78] 100.0% ---------------------------------------------------------------------- jloop [77] 21.2% loop [76] 78.8% [78] 2804(18.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [80] 85.7% ??? [79] 14.3% ---------------------------------------------------------------------- for-loop [54] 1.7% ??? [78] 3.9% loop [64] 94.4% [79] 10306(68.4%) 1700(11.3%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [81] 42.0% real->bigfloat [82] 26.7% ??? [92] 12.6% ->flonum [83] 2.1% ---------------------------------------------------------------------- for-loop [72] 7.0% ??? [78] 93.0% [80] 2586(17.2%) 2170(14.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [84] 8.4% inductor [85] 7.7% ---------------------------------------------------------------------- ??? [79] 100.0% [81] 4328(28.7%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [86] 89.4% ...higher-order.rkt:373:33 [87] 10.6% ---------------------------------------------------------------------- ??? [79] 100.0% [82] 2756(18.3%) 2048(13.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [93] 25.7% ---------------------------------------------------------------------- ??? [79] 47.0% map [61] 53.0% [83] 468(3.1%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [94] 53.0% ??? [88] 47.0% ---------------------------------------------------------------------- eval-prog [80] 100.0% [84] 216(1.4%) 216(1.4%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ---------------------------------------------------------------------- eval-prog [80] 100.0% [85] 200(1.3%) 200(1.3%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 ---------------------------------------------------------------------- ??? [81] 100.0% [86] 3868(25.7%) 1278(8.5%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [89] 43.4% ??? [94] 16.9% bfadd [91] 6.7% ---------------------------------------------------------------------- ??? [81] 100.0% [87] 460(3.1%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [90] 100.0% ---------------------------------------------------------------------- ->flonum [83] 100.0% [88] 220(1.5%) 220(1.5%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [86] 100.0% [89] 1680(11.1%) 964(6.4%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [93] 42.6% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [87]100.0% [90] 460(3.1%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [92] 100.0% ---------------------------------------------------------------------- ??? [86] 100.0% [91] 258(1.7%) 258(1.7%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- ??? [90] 26.1% ??? [79] 73.9% [92] 1762(11.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [94] 100.0% ---------------------------------------------------------------------- real->bigfloat [82] 49.7% bfsqrt [89] 50.3% [93] 1424(9.4%) 1424(9.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ->flonum [83] 9.3% ??? [86] 24.5% ??? [92] 66.2% [94] 2662(17.7%) 1280(8.5%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [95] 51.9% ---------------------------------------------------------------------- ??? [94] 100.0% [95] 1382(9.2%) 976(6.5%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [96] 29.4% ---------------------------------------------------------------------- ??? [95] 100.0% [96] 406(2.7%) 406(2.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------