Profiling results ----------------- Total cpu time observed: 15080ms (out of 15296ms) Number of samples taken: 61 (once every 247ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [5] 100.0% [1] 14286(94.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ---------------------------------------------------------------------- hash-ref! [68] 100.0% [2] 624(4.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [4] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 14286(94.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [5] 100.0% ---------------------------------------------------------------------- ??? [2] 100.0% [4] 624(4.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 ??? [6] 67.6% hash-ref! [68] 32.4% ---------------------------------------------------------------------- for-loop [29] 2.3% run [3] 46.2% [5] 15080(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.2% loop [7] 38.2% run-improve58 [8] 13.3% simplify [9] 2.3% ---------------------------------------------------------------------- for-loop [4] 100.0% [6] 422(2.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [68] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [7] 10714(71.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [10] 56.3% make-exacts* [15] 30.5% loop [16] 13.2% ---------------------------------------------------------------------- ??? [5] 100.0% [8] 4366(29.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [11] 65.6% get-final-combination [12] 34.4% ---------------------------------------------------------------------- ??? [5] 100.0% [9] 1022(6.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [13] 59.1% for-loop [14] 21.5% iterate-egraph!5 [19] 19.4% ---------------------------------------------------------------------- loop [7] 100.0% [10] 6032(40.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [15] 53.6% loop [16] 46.4% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [11] 2866(19.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [17] 100.0% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [12] 1500(9.9%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [18] 100.0% ---------------------------------------------------------------------- simplify [9] 100.0% [13] 604(4.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [19] 100.0% ---------------------------------------------------------------------- simplify [9] 100.0% [14] 220(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [19] 100.0% ---------------------------------------------------------------------- loop [10] 49.8% loop [7] 50.2% [15] 6496(43.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [20] 52.9% loop [27] 47.1% ---------------------------------------------------------------------- loop [7] 33.6% loop [10] 66.4% [16] 4218(28.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [20] 100.0% ---------------------------------------------------------------------- for-loop [11] 100.0% [17] 2866(19.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [23] 35.7% gen-series! [24] 35.6% finalize-iter! [25] 21.8% gen-rewrites! [26] 7.0% ---------------------------------------------------------------------- get-final-combination [12] 100.0% [18] 1500(9.9%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [21] 100.0% ---------------------------------------------------------------------- simplify [9] 19.4% for-loop [14] 21.5% simplify-expr [13] 59.1% [19] 1022(6.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [22] 100.0% ---------------------------------------------------------------------- make-exacts* [15] 44.9% loop [16] 55.1% [20] 7654(50.8%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [27] 96.0% ??? [66] 4.0% ---------------------------------------------------------------------- split-table [18] 100.0% [21] 1500(9.9%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [28] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [19] 100.0% [22] 1022(6.8%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [32] 60.7% loop [33] 39.3% ---------------------------------------------------------------------- run-iter! [17] 100.0% [23] 1022(6.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [29] 100.0% ---------------------------------------------------------------------- run-iter! [17] 100.0% [24] 1020(6.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [30] 100.0% ---------------------------------------------------------------------- run-iter! [17] 100.0% [25] 624(4.1%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [31] 100.0% ---------------------------------------------------------------------- run-iter! [17] 100.0% [26] 200(1.3%) 0(0.0%) gen-rewrites! ...ock/herbie/src/mainloop.rkt:148:0 for-loop [34] 100.0% ---------------------------------------------------------------------- parse-loop50 [79] 1.0% map [20] 1.1% make-exacts* [15] 2.0% loop [27] 95.8% [27] 10628(70.5%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [27] 95.8% ??? [66] 3.1% parse-loop50 [79] 1.0% ->flonum [73] 0.0% ---------------------------------------------------------------------- infer-splitpoints4 [21] 100.0% [28] 1500(9.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [35] 100.0% ---------------------------------------------------------------------- simplify! [23] 100.0% [29] 1022(6.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [5] 100.0% ---------------------------------------------------------------------- gen-series! [24] 100.0% [30] 1020(6.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [36] 100.0% ---------------------------------------------------------------------- finalize-iter! [25] 100.0% [31] 624(4.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [37] 100.0% ---------------------------------------------------------------------- for-loop [32] 50.0% one-iter [22] 50.0% [32] 620(4.1%) 202(1.3%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [32] 50.0% match-e [43] 33.7% ---------------------------------------------------------------------- one-iter [22] 100.0% [33] 402(2.7%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [38] 100.0% ---------------------------------------------------------------------- gen-rewrites! [26] 100.0% [34] 200(1.3%) 0(0.0%) for-loop ...tatlock/herbie/src/mainloop.rkt:153:11 ??? [39] 100.0% ---------------------------------------------------------------------- option-on-expr [28] 100.0% [35] 1500(9.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% ---------------------------------------------------------------------- for-loop [30] 100.0% [36] 1020(6.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [41] 100.0% ---------------------------------------------------------------------- ??? [31] 100.0% [37] 624(4.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [42] 100.0% ---------------------------------------------------------------------- loop [33] 100.0% [38] 402(2.7%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [44] 50.2% match-e [43] 49.8% ---------------------------------------------------------------------- for-loop [34] 100.0% [39] 200(1.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/alternative.rkt:90:0 rewriter [45] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [35] 100.0% [40] 1500(9.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [47] 58.0% loop [53] 42.0% ---------------------------------------------------------------------- taylor-alt [36] 100.0% [41] 1020(6.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [42] 624(4.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [48] 100.0% ---------------------------------------------------------------------- apply-match [38] 32.4% for-loop [32] 67.6% [43] 618(4.1%) 418(2.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 list-cartesian-product [50] 32.4% ---------------------------------------------------------------------- apply-match [38] 100.0% [44] 202(1.3%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [49] 100.0% ---------------------------------------------------------------------- matcher [60] 50.0% ??? [39] 50.0% [45] 200(1.3%) 0(0.0%) rewriter ...lock/herbie/src/core/matcher.rkt:123:2 for-loop [52] 50.0% *rules* [51] 50.0% ---------------------------------------------------------------------- location-do [46] 30.6% for-loop [41] 69.4% [46] 1020(6.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [54] 69.4% location-do [46] 30.6% ---------------------------------------------------------------------- sort [40] 37.1% copying-mergesort [47] 62.9% [47] 870(5.8%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [47] 62.9% loop [53] 24.1% jloop [55] 12.9% ---------------------------------------------------------------------- atab-add-altn [42] 100.0% [48] 624(4.1%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [56] 67.9% errors [59] 32.1% ---------------------------------------------------------------------- merge-egraph-nodes! [44] 100.0% [49] 202(1.3%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 mutable-set [57] 100.0% ---------------------------------------------------------------------- list-cartesian-product [50] 50.0% match-e [43] 50.0% [50] 200(1.3%) 200(1.3%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [50] 50.0% ---------------------------------------------------------------------- rewriter [45] 100.0% [51] 200(1.3%) 0(0.0%) *rules* ...tlock/herbie/src/syntax/rules.rkt:296:0 for-loop [58] 100.0% ---------------------------------------------------------------------- rewriter [45] 100.0% [52] 200(1.3%) 0(0.0%) for-loop ...ock/herbie/src/core/matcher.rkt:126:10 matcher [60] 100.0% ---------------------------------------------------------------------- copying-mergesort [47] 40.0% sort [40] 60.0% [53] 1050(7.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [61] 100.0% ---------------------------------------------------------------------- location-do [46] 100.0% [54] 1020(6.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [62] 80.8% taylor [65] 19.2% ---------------------------------------------------------------------- copying-mergesort [47] 100.0% [55] 450(3.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [61] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [48] 100.0% [56] 424(2.8%) 424(2.8%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- update-leader! [49] 100.0% [57] 202(1.3%) 202(1.3%) mutable-set ...racket/private/set-types.rkt:1000:0 ---------------------------------------------------------------------- *rules* [51] 100.0% [58] 200(1.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/common.rkt:205:9 ormap [63] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [48] 100.0% [59] 200(1.3%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [64] 100.0% ---------------------------------------------------------------------- matcher [60] 50.0% for-loop [52] 50.0% [60] 200(1.3%) 0(0.0%) matcher ...tlock/herbie/src/core/matcher.rkt:159:2 matcher [60] 50.0% rewriter [45] 50.0% ---------------------------------------------------------------------- jloop [55] 30.0% loop [53] 70.0% [61] 1500(9.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [67] 86.7% ??? [66] 13.3% ---------------------------------------------------------------------- approximate9 [54] 100.0% [62] 824(5.5%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [68] 100.0% ---------------------------------------------------------------------- for-loop [58] 100.0% [63] 200(1.3%) 200(1.3%) ormap ...et/collects/racket/private/map.rkt:106:13 ---------------------------------------------------------------------- errors [59] 100.0% [64] 200(1.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [66] 100.0% ---------------------------------------------------------------------- approximate9 [54] 100.0% [65] 196(1.3%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 debug-print [69] 100.0% ---------------------------------------------------------------------- for-loop [64] 1.9% ??? [61] 1.9% map [20] 2.9% loop [27] 93.4% [66] 10682(70.8%) 492(3.3%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [70] 71.0% real->bigfloat [71] 22.5% ->flonum [73] 1.9% ---------------------------------------------------------------------- ??? [61] 100.0% [67] 1300(8.6%) 1098(7.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [75] 15.5% ---------------------------------------------------------------------- for-loop [4] 8.2% ??? [6] 17.1% ??? [74] 25.2% loop [62] 49.5% [68] 824(5.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 simplify [72] 49.5% ??? [74] 25.2% ??? [2] 25.2% ---------------------------------------------------------------------- taylor [65] 100.0% [69] 196(1.3%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [76] 100.0% ---------------------------------------------------------------------- ??? [66] 100.0% [70] 7588(50.3%) 200(1.3%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [77] 83.0% ...higher-order.rkt:373:33 [78] 14.3% ---------------------------------------------------------------------- ??? [66] 100.0% [71] 2402(15.9%) 1944(12.9%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [84] 19.1% ---------------------------------------------------------------------- hash-ref! [68] 100.0% [72] 824(5.5%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [79] 100.0% ---------------------------------------------------------------------- ??? [66] 31.6% loop [27] 68.4% [73] 632(4.2%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [86] 68.4% ??? [80] 31.6% ---------------------------------------------------------------------- hash-ref! [68] 100.0% [74] 624(4.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [68] 100.0% ---------------------------------------------------------------------- eval-prog [67] 100.0% [75] 202(1.3%) 202(1.3%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ---------------------------------------------------------------------- debug-print [69] 100.0% [76] 196(1.3%) 196(1.3%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ---------------------------------------------------------------------- ??? [70] 100.0% [77] 6300(41.8%) 2252(14.9%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexp [81] 32.6% bfsub [82] 16.9% ??? [86] 14.8% ---------------------------------------------------------------------- ??? [70] 100.0% [78] 1088(7.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [83] 75.0% ??? [85] 25.0% ---------------------------------------------------------------------- loop [27] 6.7% parse-loop50 [79] 25.6% simplify [72] 67.7% [79] 824(5.5%) 824(5.5%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [79] 25.6% loop [27] 6.7% ---------------------------------------------------------------------- ->flonum [73] 100.0% [80] 200(1.3%) 200(1.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [77] 100.0% [81] 2056(13.6%) 1524(10.1%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [84] 25.9% ---------------------------------------------------------------------- ??? [77] 100.0% [82] 1062(7.0%) 770(5.1%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [84] 27.5% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [78]100.0% [83] 816(5.4%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [85] 100.0% ---------------------------------------------------------------------- bfsub [82] 22.8% real->bigfloat [71] 35.7% bfexp [81] 41.5% [84] 1282(8.5%) 1282(8.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [78] 25.0% ??? [83] 75.0% [85] 1088(7.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [86] 100.0% ---------------------------------------------------------------------- ->flonum [73] 17.6% ??? [77] 38.0% ??? [85] 44.4% [86] 2450(16.2%) 438(2.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [87] 82.1% ---------------------------------------------------------------------- ??? [86] 100.0% [87] 2012(13.3%) 232(1.5%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [88] 88.5% ---------------------------------------------------------------------- ??? [87] 100.0% [88] 1780(11.8%) 1780(11.8%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------