Profiling results ----------------- Total cpu time observed: 14390ms (out of 14852ms) Number of samples taken: 60 (once every 240ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [21] 100.0% [1] 13944(96.9%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% --------------------------------------------------------------------- ??? [21] 100.0% [2] 3852(26.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [6] 100.0% --------------------------------------------------------------------- ??? [21] 100.0% [3] 2628(18.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [7] 83.9% for-loop [8] 8.4% iterate-egraph!5 [10] 7.6% --------------------------------------------------------------------- f94 [50] 100.0% [4] 200(1.4%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [40] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 13944(96.9%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [21] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 3852(26.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [9] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [7] 2206(15.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [10] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [8] 222(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [10] 100.0% --------------------------------------------------------------------- for-loop [6] 100.0% [9] 3852(26.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [11] 68.2% finalize-iter! [13] 11.0% localize-error [14] 10.4% gen-series! [15] 10.4% --------------------------------------------------------------------- simplify [3] 7.6% for-loop [8] 8.4% simplify-expr [7] 83.9% [10] 2628(18.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [12] 100.0% --------------------------------------------------------------------- run-iter! [9] 100.0% [11] 2628(18.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [16] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [10] 100.0% [12] 2628(18.3%) 200(1.4%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [17] 69.5% loop [18] 22.9% --------------------------------------------------------------------- run-iter! [9] 100.0% [13] 422(2.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [19] 100.0% --------------------------------------------------------------------- run-iter! [9] 100.0% [14] 402(2.8%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [43] 100.0% --------------------------------------------------------------------- run-iter! [9] 100.0% [15] 400(2.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [20] 100.0% --------------------------------------------------------------------- simplify! [11] 100.0% [16] 2628(18.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [21] 100.0% --------------------------------------------------------------------- for-loop [17] 50.0% one-iter [12] 50.0% [17] 1826(12.7%) 802(5.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [17] 50.0% match-e [22] 28.0% --------------------------------------------------------------------- one-iter [12] 100.0% [18] 602(4.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [23] 100.0% --------------------------------------------------------------------- finalize-iter! [13] 100.0% [19] 422(2.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [24] 100.0% --------------------------------------------------------------------- gen-series! [15] 100.0% [20] 400(2.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [25] 100.0% --------------------------------------------------------------------- for-loop [16] 6.2% run [5] 46.1% [21] 14168(98.5%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.1% loop [26] 37.2% run-improve58 [2] 10.5% simplify [3] 6.2% --------------------------------------------------------------------- for-loop [17] 100.0% [22] 1024(7.1%) 824(5.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [31] 19.5% --------------------------------------------------------------------- loop [18] 100.0% [23] 602(4.2%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [29] 33.6% for-loop [32] 33.2% substitute-e [30] 33.2% --------------------------------------------------------------------- ??? [19] 100.0% [24] 422(2.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [27] 100.0% --------------------------------------------------------------------- for-loop [20] 100.0% [25] 400(2.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [28] 100.0% --------------------------------------------------------------------- ??? [21] 100.0% [26] 10316(71.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [36] 44.2% loop [33] 41.7% loop [37] 14.1% --------------------------------------------------------------------- for-loop [24] 100.0% [27] 422(2.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [34] 100.0% --------------------------------------------------------------------- taylor-alt [25] 100.0% [28] 400(2.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [35] 100.0% --------------------------------------------------------------------- apply-match [23] 100.0% [29] 202(1.4%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 loop! [54] 100.0% --------------------------------------------------------------------- substitute-e [30] 50.0% apply-match [23] 50.0% [30] 200(1.4%) 200(1.4%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [30] 50.0% --------------------------------------------------------------------- match-e [22] 100.0% [31] 200(1.4%) 200(1.4%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 --------------------------------------------------------------------- apply-match [23] 100.0% [32] 200(1.4%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 loop! [54] 100.0% --------------------------------------------------------------------- loop [26] 100.0% [33] 4300(29.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [36] 41.9% loop [37] 40.9% eval-prog [38] 17.2% --------------------------------------------------------------------- atab-add-altn [27] 100.0% [34] 422(2.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [39] 100.0% --------------------------------------------------------------------- location-do [35] 33.3% for-loop [28] 66.7% [35] 400(2.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 simplify [40] 50.0% location-do [35] 33.3% approximate9 [41] 16.7% --------------------------------------------------------------------- loop [33] 28.3% loop [26] 71.7% [36] 6362(44.2%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [48] 60.3% map [42] 39.7% --------------------------------------------------------------------- loop [26] 45.3% loop [33] 54.7% [37] 3216(22.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [42] 100.0% --------------------------------------------------------------------- loop [33] 100.0% [38] 738(5.1%) 0(0.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [43] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [34] 100.0% [39] 422(2.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [44] 100.0% --------------------------------------------------------------------- taylor-sqrt [4] 50.0% location-do [35] 50.0% [40] 400(2.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f94 [50] 50.0% parse-loop12 [45] 50.0% --------------------------------------------------------------------- location-do [35] 100.0% [41] 200(1.4%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [50] 100.0% --------------------------------------------------------------------- f94 [50] 3.4% make-exacts* [36] 42.5% loop [37] 54.1% [42] 5942(41.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [48] 96.6% parse-loop12 [45] 2.0% f94 [50] 1.3% --------------------------------------------------------------------- eval-prog [38] 14.8% localize-error [14] 35.3% loop [48] 49.9% [43] 1140(7.9%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [47] 49.9% parse-loop12 [45] 35.3% bigfloat-hash [46] 14.8% --------------------------------------------------------------------- errors [39] 100.0% [44] 422(2.9%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [52] 100.0% --------------------------------------------------------------------- parse-loop12 [45] 10.0% map [42] 15.0% simplify [40] 24.9% hash-ref! [43] 50.1% [45] 802(5.6%) 200(1.4%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [48] 50.1% f94 [50] 15.0% parse-loop12 [45] 10.0% --------------------------------------------------------------------- hash-ref! [43] 100.0% [46] 738(5.1%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [49] 65.9% bfcanonicalize [51] 34.1% --------------------------------------------------------------------- hash-ref! [43] 100.0% [47] 738(5.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [48] 100.0% --------------------------------------------------------------------- make-exacts* [36] 0.1% parse-loop12 [45] 0.1% map [42] 1.0% loop! [54] 1.9% ??? [47] 6.6% loop [48] 90.2% [48] 11120(77.3%) 202(1.4%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [48] 90.2% hash-ref! [43] 6.6% loop! [54] 1.9% ??? [52] 1.1% ??? [62] 0.0% ->flonum [53] 0.0% --------------------------------------------------------------------- bigfloat-hash [46] 100.0% [49] 486(3.4%) 486(3.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- simplify [40] 8.3% map [42] 16.7% f94 [50] 25.0% approximate9 [41] 25.0% parse-loop12 [45] 25.0% [50] 400(2.8%) 200(1.4%) f94 ...t/collects/racket/match/compiler.rkt:499:40 map [42] 41.7% f94 [50] 25.0% taylor-sqrt [4] 25.0% --------------------------------------------------------------------- bigfloat-hash [46] 100.0% [51] 252(1.8%) 0(0.0%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 bigfloat->sig+exp [55] 100.0% --------------------------------------------------------------------- for-loop [44] 4.5% loop [48] 95.5% [52] 9302(64.6%) 230(1.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [56] 76.3% real->bigfloat [57] 18.9% ??? [69] 2.3% --------------------------------------------------------------------- loop [48] 100.0% [53] 698(4.9%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [70] 69.6% ??? [59] 30.4% --------------------------------------------------------------------- for-loop [32] 24.9% merge-egraph-nodes! [29] 25.1% loop [48] 50.0% [54] 402(2.8%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 loop [48] 50.0% custom-set-union [60] 25.1% set [61] 24.9% --------------------------------------------------------------------- bfcanonicalize [51] 100.0% [55] 252(1.8%) 0(0.0%) bigfloat->sig+exp ...ivate/bigfloat/mpfr.rkt:370:0 new-mpz [58] 100.0% --------------------------------------------------------------------- ??? [52] 100.0% [56] 7096(49.3%) 200(1.4%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [62] 78.2% ...higher-order.rkt:373:33 [63] 15.8% ??? [64] 3.1% --------------------------------------------------------------------- ??? [52] 100.0% [57] 1760(12.2%) 1108(7.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [68] 37.0% --------------------------------------------------------------------- bigfloat->sig+exp [55] 100.0% [58] 252(1.8%) 252(1.8%) new-mpz ...-lib/math/private/bigfloat/gmp.rkt:73:0 --------------------------------------------------------------------- ->flonum [53] 100.0% [59] 212(1.5%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [68] 100.0% --------------------------------------------------------------------- loop! [54] 100.0% [60] 202(1.4%) 202(1.4%) custom-set-union ...et/private/set-types.rkt:168:0 --------------------------------------------------------------------- loop! [54] 100.0% [61] 200(1.4%) 200(1.4%) set ...collects/racket/private/set-types.rkt:982:0 --------------------------------------------------------------------- loop [48] 3.5% ??? [56] 96.5% [62] 5752(40.0%) 756(5.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfadd [65] 45.6% bfsqrt [66] 24.5% ??? [70] 16.7% --------------------------------------------------------------------- ??? [56] 100.0% [63] 1122(7.8%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [67] 100.0% --------------------------------------------------------------------- ??? [56] 100.0% [64] 222(1.5%) 222(1.5%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- ??? [62] 100.0% [65] 2622(18.2%) 1706(11.9%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [68] 34.9% --------------------------------------------------------------------- ??? [62] 100.0% [66] 1412(9.8%) 1182(8.2%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [68] 16.3% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [63]100.0% [67] 1122(7.8%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [69] 100.0% --------------------------------------------------------------------- ??? [59] 10.5% bfsqrt [66] 11.4% real->bigfloat [57] 32.4% bfadd [65] 45.6% [68] 2010(14.0%) 2010(14.0%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [52] 16.1% ??? [67] 83.9% [69] 1338(9.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [70] 100.0% --------------------------------------------------------------------- ->flonum [53] 17.4% ??? [62] 34.5% ??? [69] 48.0% [70] 2786(19.4%) 1674(11.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [71] 39.9% --------------------------------------------------------------------- ??? [70] 100.0% [71] 1112(7.7%) 698(4.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [72] 37.2% --------------------------------------------------------------------- ??? [71] 100.0% [72] 414(2.9%) 414(2.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------