Profiling results ----------------- Total cpu time observed: 21440ms (out of 21960ms) Number of samples taken: 89 (once every 241ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 91 hidden) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [23] 100.0% [1] 20972(97.8%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% --------------------------------------------------------------------- ??? [23] 100.0% [2] 4794(22.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [7] 51.0% get-final-combination [8] 49.0% --------------------------------------------------------------------- location-do [37] 100.0% [3] 818(3.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [9] 75.6% taylor-quotient [10] 24.4% --------------------------------------------------------------------- copying-mergesort [36] 100.0% [4] 652(3.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [45] 100.0% --------------------------------------------------------------------- loop [62] 100.0% [5] 200(0.9%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [49] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 20972(97.8%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [23] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 2444(11.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 2350(11.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [12] 91.6% extract-alt [13] 8.4% --------------------------------------------------------------------- approximate9 [3] 100.0% [9] 618(2.9%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [49] 100.0% --------------------------------------------------------------------- approximate9 [3] 100.0% [10] 200(0.9%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:328:0 simplify [50] 100.0% --------------------------------------------------------------------- for-loop [7] 100.0% [11] 2444(11.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [15] 41.0% gen-series! [16] 33.5% finalize-iter! [17] 16.4% localize-error [32] 9.1% --------------------------------------------------------------------- get-final-combination [8] 100.0% [12] 2152(10.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [14] 80.6% ??? [20] 19.4% --------------------------------------------------------------------- get-final-combination [8] 100.0% [13] 198(0.9%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [62] 100.0% --------------------------------------------------------------------- split-table [12] 100.0% [14] 1734(8.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [18] 88.5% exprs-to-branch-on [22] 11.5% --------------------------------------------------------------------- run-iter! [11] 100.0% [15] 1002(4.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [19] 100.0% --------------------------------------------------------------------- run-iter! [11] 100.0% [16] 818(3.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [21] 100.0% --------------------------------------------------------------------- run-iter! [11] 100.0% [17] 402(1.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [20] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [14] 100.0% [18] 1534(7.2%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [24] 100.0% --------------------------------------------------------------------- simplify! [15] 100.0% [19] 1002(4.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [23] 100.0% --------------------------------------------------------------------- finalize-iter! [17] 49.0% split-table [12] 51.0% [20] 820(3.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 split-atab [26] 51.0% for-loop [27] 49.0% --------------------------------------------------------------------- gen-series! [16] 100.0% [21] 818(3.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [25] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [14] 100.0% [22] 200(0.9%) 0(0.0%) exprs-to-branch-on ...ie/src/core/regimes.rkt:41:0 critical-subexpression [28] 100.0% --------------------------------------------------------------------- for-loop [19] 1.6% run [6] 48.7% [23] 21210(98.9%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.7% loop [29] 38.7% run-improve58 [2] 11.1% simplify [66] 1.6% --------------------------------------------------------------------- option-on-expr [18] 100.0% [24] 1534(7.2%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [30] 100.0% --------------------------------------------------------------------- for-loop [21] 100.0% [25] 818(3.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [31] 100.0% --------------------------------------------------------------------- ??? [20] 100.0% [26] 418(1.9%) 0(0.0%) split-atab ...k/herbie/src/core/alt-table.rkt:74:0 for-loop [33] 100.0% --------------------------------------------------------------------- ??? [20] 100.0% [27] 402(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [34] 100.0% --------------------------------------------------------------------- exprs-to-branch-on [22] 100.0% [28] 200(0.9%) 0(0.0%) critical-subexpression ...rc/core/regimes.rkt:49:0 localize-error [32] 100.0% --------------------------------------------------------------------- ??? [23] 100.0% [29] 16416(76.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [40] 52.3% loop [35] 47.7% --------------------------------------------------------------------- sort-context-on-expr [24] 100.0% [30] 1534(7.2%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [36] 70.5% loop [42] 29.5% --------------------------------------------------------------------- taylor-alt [25] 100.0% [31] 818(3.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [37] 100.0% --------------------------------------------------------------------- critical-subexpression [28] 47.4% run-iter! [11] 52.6% [32] 422(2.0%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [49] 100.0% --------------------------------------------------------------------- split-atab [26] 100.0% [33] 418(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:75:2 for-loop [38] 100.0% --------------------------------------------------------------------- for-loop [27] 100.0% [34] 402(1.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [39] 100.0% --------------------------------------------------------------------- loop [29] 100.0% [35] 7824(36.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [41] 65.2% make-exacts* [40] 28.9% eval-prog [48] 5.8% --------------------------------------------------------------------- copying-mergesort [36] 45.2% sort [30] 54.8% [36] 1082(5.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [36] 45.2% loop [42] 39.7% jloop [4] 15.1% --------------------------------------------------------------------- for-loop [31] 25.0% location-do [37] 75.0% [37] 818(3.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [37] 75.0% approximate9 [3] 25.0% --------------------------------------------------------------------- for-loop [33] 100.0% [38] 418(1.9%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:80:53 loop [43] 100.0% --------------------------------------------------------------------- atab-add-altn [34] 100.0% [39] 402(1.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [44] 100.0% --------------------------------------------------------------------- loop [35] 20.9% loop [29] 79.1% [40] 10856(50.6%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [59] 59.0% loop [62] 41.0% --------------------------------------------------------------------- loop [35] 100.0% [41] 5104(23.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [59] 100.0% --------------------------------------------------------------------- copying-mergesort [36] 48.8% sort [30] 51.2% [42] 882(4.1%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [45] 100.0% --------------------------------------------------------------------- for-loop [38] 100.0% [43] 418(1.9%) 0(0.0%) loop ...ket/collects/racket/private/list.rkt:264:4 ??? [46] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [39] 100.0% [44] 402(1.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [47] 100.0% --------------------------------------------------------------------- jloop [4] 42.5% loop [42] 57.5% [45] 1534(7.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [48] 100.0% --------------------------------------------------------------------- loop [43] 100.0% [46] 418(1.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/regimes.rkt:291:8 ??? [65] 52.2% eval-prog [48] 47.8% --------------------------------------------------------------------- errors [44] 100.0% [47] 402(1.9%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [65] 100.0% --------------------------------------------------------------------- ??? [46] 9.1% loop [35] 20.8% ??? [45] 70.0% [48] 2190(10.2%) 1734(8.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [49] 20.8% --------------------------------------------------------------------- ??? [5] 6.7% ??? [53] 9.4% loop [62] 11.9% ??? [51] 16.0% loop [9] 16.0% eval-prog [48] 18.6% localize-error [32] 21.5% [49] 1496(7.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop50 [60] 21.5% bigfloat-hash [52] 18.6% ??? [51] 16.0% simplify [50] 16.0% ??? [54] 11.9% ??? [53] 9.4% f16 [55] 6.7% --------------------------------------------------------------------- taylor-quotient [10] 24.4% hash-ref! [49] 75.6% [50] 818(3.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [60] 51.3% debug7 [58] 24.4% f16 [55] 24.2% --------------------------------------------------------------------- hash-ref! [49] 100.0% [51] 618(2.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [49] 100.0% --------------------------------------------------------------------- hash-ref! [49] 100.0% [52] 456(2.1%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [56] 53.1% sig+exp->bigfloat [57] 46.9% --------------------------------------------------------------------- hash-ref! [49] 100.0% [53] 420(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [49] 100.0% --------------------------------------------------------------------- hash-ref! [49] 100.0% [54] 214(1.0%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [62] 100.0% --------------------------------------------------------------------- simplify [50] 16.6% map [59] 33.2% hash-ref! [49] 50.3% [55] 398(1.9%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [59] 100.0% --------------------------------------------------------------------- bigfloat-hash [52] 100.0% [56] 242(1.1%) 242(1.1%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 --------------------------------------------------------------------- bigfloat-hash [52] 100.0% [57] 214(1.0%) 214(1.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- simplify [50] 100.0% [58] 200(0.9%) 200(0.9%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 --------------------------------------------------------------------- parse-loop50 [60] 2.2% f16 [55] 2.9% loop [41] 42.1% make-exacts* [40] 52.8% [59] 12124(56.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [62] 94.9% parse-loop50 [60] 2.2% ??? [65] 1.6% f16 [55] 0.8% ??? [61] 0.4% --------------------------------------------------------------------- parse-loop50 [60] 9.6% loop [62] 11.9% simplify [50] 11.9% map [59] 26.1% hash-ref! [49] 40.6% [60] 1040(4.9%) 420(2.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 loop [62] 31.1% map [59] 26.1% loop [63] 21.3% parse-loop50 [60] 9.6% --------------------------------------------------------------------- map [59] 100.0% [61] 198(0.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/reduce.rkt:52:5 for-loop [64] 100.0% --------------------------------------------------------------------- make-exacts* [40] 0.1% ??? [54] 1.0% map [59] 1.1% extract-alt [13] 1.2% parse-loop50 [60] 1.3% loop [62] 95.4% [62] 17024(79.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [62] 95.4% parse-loop50 [60] 1.2% simplify [66] 1.2% hash-ref! [49] 1.0% ??? [65] 1.0% ->flonum [70] 0.2% ??? [5] 0.0% --------------------------------------------------------------------- parse-loop50 [60] 1.2% loop [63] 98.8% [63] 222(1.0%) 222(1.0%) loop ...cket/collects/racket/private/map.rkt:37:19 loop [63] 98.8% --------------------------------------------------------------------- ??? [61] 100.0% [64] 198(0.9%) 0(0.0%) for-loop ...atlock/herbie/src/core/reduce.rkt:53:7 pattern-match [67] 100.0% --------------------------------------------------------------------- map [59] 1.2% ??? [46] 1.3% for-loop [47] 2.4% loop [62] 95.1% [65] 16596(77.4%) 426(2.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [68] 89.4% real->bigfloat [69] 5.4% ??? [85] 1.4% ->flonum [70] 1.3% --------------------------------------------------------------------- loop [62] 16.5% ??? [23] 83.5% [66] 1200(5.6%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [75] 49.8% simplify-expr [71] 33.5% for-loop [72] 16.7% --------------------------------------------------------------------- for-loop [64] 100.0% [67] 198(0.9%) 198(0.9%) pattern-match .../herbie/src/core/matcher.rkt:47:0 --------------------------------------------------------------------- ??? [65] 100.0% [68] 14830(69.2%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [73] 82.3% ...higher-order.rkt:373:33 [74] 13.1% bf/ [77] 1.6% ...higher-order.rkt:369:33 [78] 1.6% ??? [76] 1.4% --------------------------------------------------------------------- ??? [65] 100.0% [69] 890(4.2%) 668(3.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [84] 24.9% --------------------------------------------------------------------- loop [62] 49.5% ??? [65] 50.5% [70] 432(2.0%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [76] 50.5% ??? [79] 49.5% --------------------------------------------------------------------- simplify [66] 100.0% [71] 402(1.9%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [75] 100.0% --------------------------------------------------------------------- simplify [66] 100.0% [72] 200(0.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [75] 100.0% --------------------------------------------------------------------- ??? [68] 100.0% [73] 12198(56.9%) 4284(20.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsin [80] 36.9% bfsub [81] 15.2% ??? [87] 12.8% --------------------------------------------------------------------- ??? [68] 100.0% [74] 1950(9.1%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [82] 62.9% ??? [85] 37.1% --------------------------------------------------------------------- for-loop [72] 16.7% simplify-expr [71] 33.5% simplify [66] 49.8% [75] 1200(5.6%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [83] 100.0% --------------------------------------------------------------------- ??? [68] 48.1% ->flonum [70] 51.9% [76] 420(2.0%) 420(2.0%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [68] 100.0% [77] 240(1.1%) 240(1.1%) bf/ ...th/private/bigfloat/bigfloat-mpfr.rkt:102:0 --------------------------------------------------------------------- ??? [68] 100.0% [78] 240(1.1%) 0(0.0%) ...higher-order.rkt:369:33 (unknown source) ??? [85] 100.0% --------------------------------------------------------------------- ->flonum [70] 100.0% [79] 214(1.0%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [84] 100.0% --------------------------------------------------------------------- ??? [73] 100.0% [80] 4500(21.0%) 3036(14.2%) bfsin ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [84] 32.5% --------------------------------------------------------------------- ??? [73] 100.0% [81] 1854(8.6%) 1160(5.4%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [84] 37.4% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [74]100.0% [82] 1226(5.7%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [85] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [75] 100.0% [83] 1200(5.6%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [86] 100.0% --------------------------------------------------------------------- ??? [79] 8.2% real->bigfloat [69] 8.6% bfsub [81] 26.8% bfsin [80] 56.4% [84] 2594(12.1%) 2594(12.1%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [65] 9.6% ...higher-order.rkt:369:33 [78] 9.9% ...higher-order.rkt:373:33 [74] 29.9% ??? [82] 50.6% [85] 2422(11.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [87] 100.0% --------------------------------------------------------------------- for-loop [86] 50.0% one-iter [83] 50.0% [86] 1200(5.6%) 200(0.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [86] 50.0% match-e [88] 41.7% --------------------------------------------------------------------- ??? [73] 39.2% ??? [85] 60.8% [87] 3982(18.6%) 1682(7.8%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [89] 57.8% --------------------------------------------------------------------- for-loop [86] 100.0% [88] 1000(4.7%) 1000(4.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 --------------------------------------------------------------------- ??? [87] 100.0% [89] 2300(10.7%) 1114(5.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [90] 51.6% --------------------------------------------------------------------- ??? [89] 100.0% [90] 1186(5.5%) 1186(5.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------