Profiling results ----------------- Total cpu time observed: 18520ms (out of 18780ms) Number of samples taken: 79 (once every 234ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [29] 100.0% [1] 17410(94.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [29] 100.0% [2] 7208(38.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 72.9% get-final-combination [10] 20.7% loop [36] 6.4% ---------------------------------------------------------------------- ??? [29] 100.0% [3] 4026(21.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [9] 40.9% for-loop [11] 32.4% iterate-egraph!5 [14] 26.7% ---------------------------------------------------------------------- hash-ref! [65] 100.0% [4] 706(3.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [61] 100.0% ---------------------------------------------------------------------- copying-mergesort [46] 100.0% [5] 208(1.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [59] 100.0% ---------------------------------------------------------------------- location-do [51] 100.0% [6] 200(1.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [12] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 98.7% [7] 17632(95.2%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [29] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 5254(28.4%) 200(1.1%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [13] 96.2% ---------------------------------------------------------------------- simplify [3] 100.0% [9] 1648(8.9%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [14] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 1490(8.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [15] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [11] 1304(7.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [14] 100.0% ---------------------------------------------------------------------- approximate9 [6] 100.0% [12] 200(1.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [65] 100.0% ---------------------------------------------------------------------- for-loop [8] 100.0% [13] 5054(27.3%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [16] 79.7% finalize-iter! [19] 12.3% localize-error [21] 4.1% gen-series! [22] 4.0% ---------------------------------------------------------------------- simplify [3] 26.7% for-loop [11] 32.4% simplify-expr [9] 40.9% [14] 4026(21.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [17] 94.5% map-enodes [20] 5.5% ---------------------------------------------------------------------- get-final-combination [10] 100.0% [15] 1490(8.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [18] 100.0% ---------------------------------------------------------------------- run-iter! [13] 100.0% [16] 4026(21.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [23] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [14] 100.0% [17] 3804(20.5%) 440(2.4%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [24] 82.6% loop [27] 5.8% ---------------------------------------------------------------------- split-table [15] 100.0% [18] 1490(8.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [25] 100.0% ---------------------------------------------------------------------- run-iter! [13] 100.0% [19] 622(3.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [26] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [14] 100.0% [20] 222(1.2%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [61] 100.0% ---------------------------------------------------------------------- run-iter! [13] 100.0% [21] 206(1.1%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [65] 100.0% ---------------------------------------------------------------------- run-iter! [13] 100.0% [22] 200(1.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [28] 100.0% ---------------------------------------------------------------------- simplify! [16] 100.0% [23] 4026(21.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [29] 100.0% ---------------------------------------------------------------------- for-loop [24] 50.0% one-iter [17] 50.0% [24] 3144(17.0%) 1046(5.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [24] 50.0% match-e [30] 33.4% ---------------------------------------------------------------------- infer-splitpoints4 [18] 100.0% [25] 1490(8.0%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [31] 85.8% pick-errors [34] 14.2% ---------------------------------------------------------------------- finalize-iter! [19] 100.0% [26] 622(3.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [32] 100.0% ---------------------------------------------------------------------- one-iter [17] 100.0% [27] 220(1.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [33] 100.0% ---------------------------------------------------------------------- gen-series! [22] 100.0% [28] 200(1.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [35] 100.0% ---------------------------------------------------------------------- for-loop [23] 7.2% run [7] 44.6% [29] 18520(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 43.4% loop [36] 32.4% run-improve58 [2] 17.0% simplify [3] 7.2% ---------------------------------------------------------------------- for-loop [40] 5.5% for-loop [24] 94.5% [30] 2098(11.3%) 1264(6.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [38] 24.6% constant? [43] 9.6% for-loop [40] 5.5% ---------------------------------------------------------------------- option-on-expr [25] 100.0% [31] 1278(6.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [37] 100.0% ---------------------------------------------------------------------- ??? [26] 100.0% [32] 622(3.4%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [39] 100.0% ---------------------------------------------------------------------- loop [27] 100.0% [33] 220(1.2%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [41] 100.0% ---------------------------------------------------------------------- option-on-expr [25] 100.0% [34] 212(1.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [42] 100.0% ---------------------------------------------------------------------- for-loop [28] 100.0% [35] 200(1.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [44] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 3.9% ??? [29] 96.1% [36] 11776(63.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [45] 39.4% make-exacts* [52] 32.3% loop [53] 24.6% filter-exacts [48] 1.9% filter-points [49] 1.7% ---------------------------------------------------------------------- sort-context-on-expr [31] 100.0% [37] 1278(6.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [46] 66.2% loop [54] 33.8% ---------------------------------------------------------------------- match-e [30] 100.0% [38] 632(3.4%) 432(2.3%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 foldl [50] 31.6% ---------------------------------------------------------------------- for-loop [32] 100.0% [39] 622(3.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [47] 100.0% ---------------------------------------------------------------------- match-e [30] 100.0% [40] 230(1.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [30] 100.0% ---------------------------------------------------------------------- apply-match [33] 100.0% [41] 220(1.2%) 220(1.2%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 ---------------------------------------------------------------------- pick-errors [34] 100.0% [42] 212(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [62] 100.0% ---------------------------------------------------------------------- match-e [30] 100.0% [43] 202(1.1%) 202(1.1%) constant? ...ck/herbie/src/syntax/syntax.rkt:221:0 ---------------------------------------------------------------------- taylor-alt [35] 100.0% [44] 200(1.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [51] 100.0% ---------------------------------------------------------------------- loop [36] 100.0% [45] 4640(25.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [52] 45.6% loop [53] 39.5% eval-prog [62] 14.9% ---------------------------------------------------------------------- sort [37] 43.9% copying-mergesort [46] 56.1% [46] 846(4.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [46] 56.1% loop [54] 37.7% jloop [5] 6.1% ---------------------------------------------------------------------- atab-add-altn [39] 100.0% [47] 622(3.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [55] 100.0% ---------------------------------------------------------------------- loop [36] 100.0% [48] 226(1.2%) 0(0.0%) filter-exacts ...tlock/herbie/src/points.rkt:108:0 for-loop [56] 100.0% ---------------------------------------------------------------------- loop [36] 100.0% [49] 202(1.1%) 0(0.0%) filter-points ...tlock/herbie/src/points.rkt:101:0 for-loop [57] 100.0% ---------------------------------------------------------------------- for-loop [38] 100.0% [50] 200(1.1%) 200(1.1%) foldl ...et/collects/racket/private/list.rkt:229:4 ---------------------------------------------------------------------- for-loop [44] 16.7% location-do [51] 83.3% [51] 200(1.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [51] 83.3% approximate9 [6] 16.7% ---------------------------------------------------------------------- loop [45] 35.7% loop [36] 64.3% [52] 5926(32.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [61] 48.3% map [58] 47.8% eval-prog [62] 3.9% ---------------------------------------------------------------------- loop [45] 38.7% loop [36] 61.3% [53] 4732(25.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [58] 100.0% ---------------------------------------------------------------------- sort [37] 40.4% copying-mergesort [46] 59.6% [54] 1070(5.8%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [59] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [47] 100.0% [55] 622(3.4%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [60] 67.8% eval-prog [62] 32.2% ---------------------------------------------------------------------- filter-exacts [48] 100.0% [56] 226(1.2%) 226(1.2%) for-loop ...e/ztatlock/herbie/src/points.rkt:111:4 ---------------------------------------------------------------------- filter-points [49] 100.0% [57] 202(1.1%) 202(1.1%) for-loop ...e/ztatlock/herbie/src/points.rkt:104:4 ---------------------------------------------------------------------- f6 [83] 2.7% make-exacts* [52] 36.4% loop [53] 60.9% [58] 7770(42.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [61] 91.6% ??? [64] 5.8% ??? [63] 2.7% ---------------------------------------------------------------------- jloop [5] 16.3% loop [54] 83.7% [59] 1278(6.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [62] 83.4% ??? [64] 16.6% ---------------------------------------------------------------------- errors [55] 100.0% [60] 422(2.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [64] 100.0% ---------------------------------------------------------------------- parse-loop12 [79] 0.1% make-exacts* [52] 0.2% map-enodes [20] 0.3% map [58] 1.1% ??? [4] 6.4% loop [61] 92.0% [61] 11110(60.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [61] 92.0% hash-ref! [65] 6.4% ??? [64] 1.1% for-loop [66] 0.3% ->flonum [69] 0.2% ??? [63] 0.0% ??? [81] 0.0% ---------------------------------------------------------------------- errors [55] 8.3% for-loop [42] 8.8% make-exacts* [52] 9.7% loop [45] 28.7% ??? [59] 44.4% [62] 2402(13.0%) 1478(8.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [65] 38.5% ---------------------------------------------------------------------- loop [61] 33.3% map [58] 66.7% [63] 206(1.1%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [65] 100.0% ---------------------------------------------------------------------- ??? [59] 2.0% for-loop [60] 4.1% map [58] 4.3% loop [61] 89.6% [64] 10384(56.1%) 468(2.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [67] 75.5% real->bigfloat [68] 11.6% ->flonum [69] 4.0% ??? [85] 2.3% ...e/case-arrow.rkt:150:50 [71] 2.2% ---------------------------------------------------------------------- localize-error [21] 3.9% ??? [74] 7.5% loop [12] 7.5% ??? [63] 11.6% eval-prog [62] 34.5% loop [61] 35.0% [65] 1330(7.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 35.0% bigfloat-hash [70] 34.5% f6 [83] 7.7% parse-loop12 [79] 7.7% ??? [74] 7.5% simplify [73] 7.5% ---------------------------------------------------------------------- loop [61] 100.0% [66] 222(1.2%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [72] 100.0% ---------------------------------------------------------------------- ??? [64] 100.0% [67] 7838(42.3%) 220(1.2%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [81] 55.0% ...higher-order.rkt:373:33 [75] 30.3% bf* [76] 11.9% ---------------------------------------------------------------------- ??? [64] 100.0% [68] 1202(6.5%) 706(3.8%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [88] 41.3% ---------------------------------------------------------------------- ??? [64] 38.1% loop [61] 61.9% [69] 1088(5.9%) 456(2.5%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [87] 39.5% ??? [80] 18.6% ---------------------------------------------------------------------- hash-ref! [65] 100.0% [70] 924(5.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [77] 52.6% sig+exp->bigfloat [78] 47.4% ---------------------------------------------------------------------- ??? [64] 100.0% [71] 226(1.2%) 226(1.2%) ...e/case-arrow.rkt:150:50 (unknown source) ---------------------------------------------------------------------- for-loop [66] 100.0% [72] 222(1.2%) 222(1.2%) eval-const-expr ...k/herbie/src/programs.rkt:180:0 ---------------------------------------------------------------------- hash-ref! [65] 100.0% [73] 200(1.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop12 [79] 100.0% ---------------------------------------------------------------------- hash-ref! [65] 100.0% [74] 200(1.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [65] 100.0% ---------------------------------------------------------------------- ??? [67] 100.0% [75] 2374(12.8%) 220(1.2%) ...higher-order.rkt:373:33 (unknown source) ??? [82] 58.6% ??? [85] 32.1% ---------------------------------------------------------------------- ??? [67] 100.0% [76] 934(5.0%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [81] 100.0% ---------------------------------------------------------------------- bigfloat-hash [70] 100.0% [77] 486(2.6%) 486(2.6%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- bigfloat-hash [70] 100.0% [78] 438(2.4%) 438(2.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- parse-loop12 [79] 24.6% simplify [73] 24.6% hash-ref! [65] 50.7% [79] 406(2.2%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [61] 50.7% parse-loop12 [79] 24.6% f6 [83] 24.6% ---------------------------------------------------------------------- ->flonum [69] 100.0% [80] 202(1.1%) 202(1.1%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- loop [61] 3.8% bf* [76] 17.1% ??? [67] 79.1% [81] 5450(29.4%) 1340(7.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [84] 54.4% ??? [87] 11.8% bfatan [86] 9.2% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [75]100.0% [82] 1392(7.5%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [85] 100.0% ---------------------------------------------------------------------- parse-loop12 [79] 49.3% hash-ref! [65] 50.7% [83] 406(2.2%) 200(1.1%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [58] 50.7% ---------------------------------------------------------------------- ??? [81] 100.0% [84] 2966(16.0%) 2504(13.5%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [88] 15.6% ---------------------------------------------------------------------- ??? [64] 9.9% ...higher-order.rkt:373:33 [75] 31.9% ??? [82] 58.2% [85] 2390(12.9%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [87] 100.0% ---------------------------------------------------------------------- ??? [81] 100.0% [86] 502(2.7%) 502(2.7%) bfatan ...lib/math/private/bigfloat/mpfr.rkt:616:4 ---------------------------------------------------------------------- ->flonum [69] 12.4% ??? [81] 18.5% ??? [85] 69.0% [87] 3462(18.7%) 2046(11.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [89] 40.9% ---------------------------------------------------------------------- bfdiv [84] 48.2% real->bigfloat [68] 51.8% [88] 958(5.2%) 958(5.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [87] 100.0% [89] 1416(7.6%) 662(3.6%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [90] 53.2% ---------------------------------------------------------------------- ??? [89] 100.0% [90] 754(4.1%) 754(4.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------