Profiling results ----------------- Total cpu time observed: 55876ms (out of 56872ms) Number of samples taken: 208 (once every 269ms) (Hiding functions with self<1.0% and local<2.0%: 4 of 99 hidden) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [43] 100.0% [1] 54586(97.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [9] 100.0% --------------------------------------------------------------------- ??? [43] 100.0% [2] 9870(17.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [11] 54.4% loop [10] 36.8% finalize-table! [13] 8.7% --------------------------------------------------------------------- hash-ref! [60] 100.0% [3] 5140(9.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [55] 100.0% --------------------------------------------------------------------- ??? [43] 100.0% [4] 3968(7.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [12] 73.7% for-loop [14] 21.2% iterate-egraph!5 [22] 5.0% --------------------------------------------------------------------- location-do [52] 100.0% [5] 806(1.4%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [16] 74.9% taylor-sqrt [17] 25.1% --------------------------------------------------------------------- hash-ref! [60] 100.0% [6] 606(1.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [15] 100.0% --------------------------------------------------------------------- hash-ref! [60] 100.0% [7] 202(0.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [19] 100.0% --------------------------------------------------------------------- hash-ref! [60] 100.0% [8] 202(0.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [18] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 99.6% [9] 54806(98.1%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [43] 100.0% --------------------------------------------------------------------- run-improve58 [2] 7.4% ??? [43] 92.6% [10] 49414(88.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [20] 53.2% make-exacts* [27] 35.3% loop [28] 11.0% for-loop [25] 0.4% --------------------------------------------------------------------- run-improve58 [2] 100.0% [11] 5372(9.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [21] 100.0% --------------------------------------------------------------------- completely-simplify-alt [35] 7.0% simplify [4] 93.0% [12] 3146(5.6%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [22] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [13] 862(1.5%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [23] 100.0% --------------------------------------------------------------------- simplify [4] 100.0% [14] 842(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [22] 100.0% --------------------------------------------------------------------- ??? [6] 100.0% [15] 606(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 ??? [24] 50.0% simplify [56] 33.3% hash-ref! [60] 16.7% --------------------------------------------------------------------- approximate9 [5] 100.0% [16] 604(1.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [60] 100.0% --------------------------------------------------------------------- f6 [65] 49.8% approximate9 [5] 50.2% [17] 402(0.7%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 first-nonzero-exp [26] 50.2% simplify [56] 49.8% --------------------------------------------------------------------- ??? [8] 100.0% [18] 202(0.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [60] 100.0% --------------------------------------------------------------------- ??? [7] 100.0% [19] 202(0.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 simplify [56] 100.0% --------------------------------------------------------------------- loop [10] 100.0% [20] 26306(47.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [28] 37.4% make-exacts* [27] 33.7% eval-prog [38] 29.0% --------------------------------------------------------------------- for-loop [11] 100.0% [21] 5372(9.6%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [30] 73.9% gen-series! [31] 11.2% finalize-iter! [32] 11.2% localize-error [36] 3.7% --------------------------------------------------------------------- simplify [4] 4.8% for-loop [14] 20.1% simplify-expr [12] 75.1% [22] 4188(7.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [29] 100.0% --------------------------------------------------------------------- finalize-table! [13] 100.0% [23] 862(1.5%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [33] 49.2% completely-simplify-alt [35] 25.5% ??? [64] 25.3% --------------------------------------------------------------------- for-loop [15] 100.0% [24] 404(0.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [60] 100.0% --------------------------------------------------------------------- loop [10] 100.0% [25] 220(0.4%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [34] 100.0% --------------------------------------------------------------------- taylor-sqrt [17] 100.0% [26] 202(0.4%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:260:0 hash-ref! [60] 100.0% --------------------------------------------------------------------- loop [20] 33.7% loop [10] 66.3% [27] 26320(47.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [37] 46.5% loop [55] 37.1% eval-prog [38] 16.4% --------------------------------------------------------------------- loop [10] 35.6% loop [20] 64.4% [28] 15256(27.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [37] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [22] 100.0% [29] 4188(7.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [40] 65.0% loop [41] 30.1% apply-match [45] 4.8% --------------------------------------------------------------------- run-iter! [21] 100.0% [30] 3968(7.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [39] 100.0% --------------------------------------------------------------------- run-iter! [21] 100.0% [31] 604(1.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [42] 100.0% --------------------------------------------------------------------- run-iter! [21] 100.0% [32] 602(1.1%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [64] 100.0% --------------------------------------------------------------------- post-process [23] 100.0% [33] 424(0.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [71] 100.0% --------------------------------------------------------------------- for-loop [25] 100.0% [34] 220(0.4%) 220(0.4%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 --------------------------------------------------------------------- post-process [23] 100.0% [35] 220(0.4%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [12] 100.0% --------------------------------------------------------------------- run-iter! [21] 100.0% [36] 198(0.4%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [60] 100.0% --------------------------------------------------------------------- f6 [65] 2.1% make-exacts* [27] 43.6% loop [28] 54.3% [37] 28102(50.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [55] 97.9% f6 [65] 1.4% --------------------------------------------------------------------- make-exacts* [27] 36.1% loop [20] 63.9% [38] 11928(21.3%) 0(0.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [60] 100.0% --------------------------------------------------------------------- simplify! [30] 100.0% [39] 3968(7.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [43] 100.0% --------------------------------------------------------------------- for-loop [40] 50.0% one-iter [29] 50.0% [40] 2724(4.9%) 400(0.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [40] 50.0% match-e [44] 42.7% --------------------------------------------------------------------- one-iter [29] 100.0% [41] 1262(2.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [45] 100.0% --------------------------------------------------------------------- gen-series! [31] 100.0% [42] 604(1.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [46] 100.0% --------------------------------------------------------------------- for-loop [39] 2.5% run [9] 48.4% [43] 55648(99.6%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.0% loop [10] 41.7% run-improve58 [2] 7.8% simplify [4] 2.5% --------------------------------------------------------------------- for-loop [40] 100.0% [44] 2324(4.2%) 2124(3.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [50] 8.6% --------------------------------------------------------------------- one-iter [29] 13.8% loop [41] 86.2% [45] 1464(2.6%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 loop! [51] 57.4% merge-egraph-nodes! [48] 28.8% for-loop [49] 13.8% --------------------------------------------------------------------- append-map [71] 41.2% for-loop [42] 58.8% [46] 1028(1.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [47] 100.0% --------------------------------------------------------------------- taylor-alt [46] 100.0% [47] 1028(1.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [52] 100.0% --------------------------------------------------------------------- for-loop [54] 23.7% apply-match [45] 76.3% [48] 422(0.8%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 enode-merge! [53] 52.6% for-loop [54] 23.7% loop! [51] 23.7% --------------------------------------------------------------------- apply-match [45] 100.0% [49] 202(0.4%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 loop! [51] 100.0% --------------------------------------------------------------------- match-e [44] 100.0% [50] 200(0.4%) 200(0.4%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 --------------------------------------------------------------------- merge-egraph-nodes! [48] 8.1% for-loop [49] 8.1% loop [55] 33.1% apply-match [45] 50.7% [51] 1242(2.2%) 220(0.4%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 loop [55] 49.4% set [57] 25.6% update-en-expr [58] 8.1% custom-set-union [59] 8.1% --------------------------------------------------------------------- for-loop [47] 22.9% location-do [52] 77.1% [52] 1028(1.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [52] 77.1% approximate9 [5] 18.6% simplify [56] 4.3% --------------------------------------------------------------------- merge-egraph-nodes! [48] 100.0% [53] 222(0.4%) 222(0.4%) enode-merge! ...ck/herbie/src/core/enode.rkt:100:0 --------------------------------------------------------------------- merge-egraph-nodes! [48] 100.0% [54] 200(0.4%) 0(0.0%) for-loop ...lock/herbie/src/core/egraph.rkt:200:10 merge-egraph-nodes! [48] 100.0% --------------------------------------------------------------------- parse-loop12 [66] 0.0% make-exacts* [27] 0.1% loop! [51] 1.3% map [37] 2.0% ??? [3] 11.8% loop [55] 84.8% [55] 43628(78.1%) 632(1.1%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [55] 84.8% hash-ref! [60] 11.8% ??? [77] 2.1% loop! [51] 0.8% ->flonum [80] 0.0% --------------------------------------------------------------------- taylor-sqrt [17] 19.5% for-loop [19] 19.6% for-loop [15] 19.6% hash-ref! [60] 19.6% location-do [52] 21.6% [56] 1028(1.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [65] 41.2% debug7 [62] 19.6% debug-print [61] 19.6% parse-loop12 [66] 19.5% --------------------------------------------------------------------- loop! [51] 100.0% [57] 418(0.7%) 418(0.7%) set ...collects/racket/private/set-types.rkt:982:0 --------------------------------------------------------------------- loop! [51] 100.0% [58] 202(0.4%) 202(0.4%) update-en-expr ...herbie/src/core/egraph.rkt:211:0 --------------------------------------------------------------------- loop! [51] 100.0% [59] 200(0.4%) 200(0.4%) custom-set-union ...et/private/set-types.rkt:168:0 --------------------------------------------------------------------- for-loop [18] 0.2% for-loop [15] 0.2% localize-error [36] 0.3% ??? [24] 0.7% loop [16] 1.5% first-nonzero-exp [26] 1.6% loop [55] 27.7% eval-prog [38] 64.5% [60] 12932(23.1%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [63] 64.5% ??? [3] 27.7% ??? [6] 2.5% parse-loop12 [66] 1.2% f6 [65] 1.1% simplify [56] 0.5% ??? [8] 0.2% ??? [7] 0.2% --------------------------------------------------------------------- simplify [56] 100.0% [61] 202(0.4%) 202(0.4%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 --------------------------------------------------------------------- simplify [56] 100.0% [62] 202(0.4%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [64] 100.0% --------------------------------------------------------------------- hash-ref! [60] 100.0% [63] 11928(21.3%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [67] 55.9% sig+exp->bigfloat [68] 44.1% --------------------------------------------------------------------- debug7 [62] 19.8% post-process [23] 21.3% finalize-iter! [32] 58.9% [64] 1022(1.8%) 202(0.4%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [69] 60.5% atab-add-altns [72] 19.8% --------------------------------------------------------------------- f6 [65] 8.1% append-map [71] 9.0% composed [70] 15.1% simplify [56] 15.1% map [37] 20.4% hash-ref! [60] 32.2% [65] 822(1.5%) 222(0.4%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [37] 44.5% composed [70] 15.1% append-map [71] 15.1% f6 [65] 8.1% taylor-sqrt [17] 8.1% --------------------------------------------------------------------- hash-ref! [60] 49.7% simplify [56] 50.3% [66] 398(0.7%) 200(0.4%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [55] 49.7% --------------------------------------------------------------------- bigfloat-hash [63] 100.0% [67] 6666(11.9%) 6666(11.9%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 --------------------------------------------------------------------- bigfloat-hash [63] 100.0% [68] 5262(9.4%) 5262(9.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- ??? [64] 100.0% [69] 618(1.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [73] 100.0% --------------------------------------------------------------------- f6 [65] 100.0% [70] 424(0.8%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 f6 [65] 100.0% --------------------------------------------------------------------- f6 [65] 50.0% for-loop [33] 50.0% [71] 424(0.8%) 202(0.4%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [46] 50.0% f6 [65] 26.2% --------------------------------------------------------------------- ??? [64] 100.0% [72] 202(0.4%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [73] 100.0% --------------------------------------------------------------------- atab-add-altns [72] 24.6% for-loop [69] 75.4% [73] 820(1.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [74] 100.0% --------------------------------------------------------------------- atab-add-altn [73] 100.0% [74] 820(1.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [75] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [74] 100.0% [75] 820(1.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [76] 100.0% --------------------------------------------------------------------- errors [75] 100.0% [76] 820(1.5%) 400(0.7%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [77] 26.6% ->flonum [80] 24.6% --------------------------------------------------------------------- for-loop [76] 0.6% loop [55] 99.4% [77] 36376(65.1%) 656(1.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [78] 72.5% real->bigfloat [79] 18.0% ??? [88] 7.1% ->flonum [80] 0.6% --------------------------------------------------------------------- ??? [77] 100.0% [78] 26388(47.2%) 234(0.4%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [85] 59.2% bf* [81] 21.9% ...higher-order.rkt:373:33 [82] 18.0% --------------------------------------------------------------------- ??? [77] 100.0% [79] 6546(11.7%) 5846(10.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [91] 10.7% --------------------------------------------------------------------- for-loop [76] 15.6% ??? [77] 16.8% loop [55] 67.6% [80] 1296(2.3%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [83] 50.2% ??? [90] 32.9% ??? [84] 17.0% --------------------------------------------------------------------- ??? [78] 100.0% [81] 5786(10.4%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [85] 100.0% --------------------------------------------------------------------- ??? [78] 100.0% [82] 4740(8.5%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [86] 89.9% ??? [88] 10.1% --------------------------------------------------------------------- ->flonum [80] 100.0% [83] 650(1.2%) 650(1.2%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ->flonum [80] 100.0% [84] 220(0.4%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [91] 100.0% --------------------------------------------------------------------- bf* [81] 27.0% ??? [78] 73.0% [85] 21414(38.3%) 1122(2.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [87] 45.2% bfsqrt [89] 30.0% ??? [90] 19.6% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [82]100.0% [86] 4260(7.6%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [88] 100.0% --------------------------------------------------------------------- ??? [85] 100.0% [87] 9670(17.3%) 7352(13.2%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [91] 24.0% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [82] 6.6% ??? [77] 35.1% ??? [86] 58.3% [88] 7308(13.1%) 218(0.4%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [90] 97.0% --------------------------------------------------------------------- ??? [85] 100.0% [89] 6426(11.5%) 4742(8.5%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [91] 26.2% --------------------------------------------------------------------- ->flonum [80] 3.6% ??? [85] 35.8% ??? [88] 60.5% [90] 11712(21.0%) 6130(11.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [92] 43.3% ??? [93] 4.3% --------------------------------------------------------------------- ??? [84] 4.5% real->bigfloat [79] 14.2% bfsqrt [89] 34.2% bfmul [87] 47.1% [91] 4922(8.8%) 4922(8.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [90] 100.0% [92] 5076(9.1%) 2680(4.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [94] 47.2% --------------------------------------------------------------------- ??? [90] 100.0% [93] 506(0.9%) 252(0.5%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [95] 50.2% --------------------------------------------------------------------- ??? [92] 100.0% [94] 2396(4.3%) 2396(4.3%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 --------------------------------------------------------------------- ??? [93] 100.0% [95] 254(0.5%) 254(0.5%) ??? ...lects/racket/contract/private/orc.rkt:73:14 ---------------------------------------------------------------------