Profiling results ----------------- Total cpu time observed: 25364ms (out of 25912ms) Number of samples taken: 101 (once every 251ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 88 hidden) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [35] 100.0% [1] 24742(97.5%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [9] 100.0% ----------------------------------------------------------------------- ??? [35] 100.0% [2] 5560(21.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [11] 53.5% finalize-table! [14] 41.2% loop [37] 5.3% ----------------------------------------------------------------------- location-do [68] 100.0% [3] 3818(15.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [10] 83.2% f143 [22] 11.0% taylor-sqrt [29] 5.8% ----------------------------------------------------------------------- hash-ref! [54] 100.0% [4] 2776(10.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [12] 100.0% ----------------------------------------------------------------------- hash-ref! [54] 100.0% [5] 2776(10.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [13] 100.0% ----------------------------------------------------------------------- hash-ref! [54] 100.0% [6] 880(3.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [51] 100.0% ----------------------------------------------------------------------- hash-ref! [54] 100.0% [7] 220(0.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [15] 100.0% ----------------------------------------------------------------------- f143 [22] 100.0% [8] 200(0.8%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:312:0 simplify [16] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 98.4% [9] 25146(99.1%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [35] 100.0% ----------------------------------------------------------------------- approximate9 [3] 100.0% [10] 3178(12.5%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [54] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [11] 2974(11.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [17] 100.0% ----------------------------------------------------------------------- ??? [4] 100.0% [12] 2776(10.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [54] 92.7% simplify [16] 7.3% ----------------------------------------------------------------------- ??? [5] 100.0% [13] 2776(10.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [18] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 100.0% [14] 2290(9.0%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [19] 100.0% ----------------------------------------------------------------------- ??? [7] 100.0% [15] 220(0.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [54] 100.0% ----------------------------------------------------------------------- taylor-invert [8] 5.2% for-loop [12] 5.3% taylor-sqrt [29] 5.8% hash-ref! [54] 83.7% [16] 3818(15.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [61] 72.7% f143 [22] 21.6% debug7 [25] 5.8% ----------------------------------------------------------------------- for-loop [11] 100.0% [17] 2974(11.7%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 gen-series! [20] 71.6% finalize-iter! [23] 14.2% simplify! [24] 14.2% ----------------------------------------------------------------------- for-loop [13] 100.0% [18] 2776(10.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [54] 100.0% ----------------------------------------------------------------------- finalize-table! [14] 100.0% [19] 2290(9.0%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [21] 73.7% localize-error [26] 8.8% loop [51] 8.7% completely-simplify-alt [56] 8.7% ----------------------------------------------------------------------- run-iter! [17] 100.0% [20] 2130(8.4%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [27] 100.0% ----------------------------------------------------------------------- post-process [19] 100.0% [21] 1688(6.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [28] 100.0% ----------------------------------------------------------------------- parse-loop50 [61] 8.0% f143 [22] 13.8% map [48] 18.8% approximate9 [3] 20.0% simplify [16] 39.4% [22] 1244(4.9%) 0(0.0%) f143 .../collects/racket/match/compiler.rkt:499:40 map [48] 52.8% taylor-sqrt [29] 17.7% f143 [22] 13.8% combine-mterms [33] 8.1% gather-multiplicative-terms [34] 5.4% taylor-invert [8] 2.3% ----------------------------------------------------------------------- run-iter! [17] 100.0% [23] 422(1.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [30] 100.0% ----------------------------------------------------------------------- run-iter! [17] 100.0% [24] 422(1.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [31] 100.0% ----------------------------------------------------------------------- simplify [16] 100.0% [25] 220(0.9%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [32] 100.0% ----------------------------------------------------------------------- post-process [19] 100.0% [26] 202(0.8%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [54] 100.0% ----------------------------------------------------------------------- gen-series! [20] 100.0% [27] 2130(8.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [55] 100.0% ----------------------------------------------------------------------- for-loop [21] 100.0% [28] 1688(6.7%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [55] 61.8% loop [51] 38.2% ----------------------------------------------------------------------- approximate9 [3] 50.0% f143 [22] 50.0% [29] 440(1.7%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 hash-ref! [54] 50.0% simplify [16] 50.0% ----------------------------------------------------------------------- finalize-iter! [23] 100.0% [30] 422(1.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 100.0% ----------------------------------------------------------------------- simplify! [24] 100.0% [31] 422(1.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [35] 100.0% ----------------------------------------------------------------------- debug7 [25] 100.0% [32] 220(0.9%) 220(0.9%) ??? ...racket/collects/racket/private/kw.rkt:713:9 ----------------------------------------------------------------------- f143 [22] 100.0% [33] 202(0.8%) 202(0.8%) combine-mterms ...herbie/src/core/reduce.rkt:182:0 ----------------------------------------------------------------------- f143 [22] 100.0% [34] 200(0.8%) 200(0.8%) gather-multiplicative-terms ...re/reduce.rkt:107:0 ----------------------------------------------------------------------- for-loop [31] 0.6% run [9] 50.1% [35] 25364(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.5% loop [37] 40.3% run-improve58 [2] 10.7% simplify [38] 0.6% ----------------------------------------------------------------------- ??? [30] 100.0% [36] 422(1.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [39] 100.0% ----------------------------------------------------------------------- run-improve58 [2] 1.5% ??? [35] 98.5% [37] 20100(79.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [40] 57.8% make-exacts* [44] 33.5% loop [45] 6.8% for-loop [41] 2.0% ----------------------------------------------------------------------- ??? [35] 100.0% [38] 422(1.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [64] 100.0% ----------------------------------------------------------------------- for-loop [36] 100.0% [39] 422(1.7%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [42] 52.1% override-at-pnts [43] 47.9% ----------------------------------------------------------------------- loop [37] 100.0% [40] 11610(45.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [45] 50.2% make-exacts* [44] 43.1% eval-prog [49] 6.7% ----------------------------------------------------------------------- loop [37] 100.0% [41] 404(1.6%) 200(0.8%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [47] 50.5% ----------------------------------------------------------------------- atab-add-altn [39] 100.0% [42] 220(0.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [46] 100.0% ----------------------------------------------------------------------- atab-add-altn [39] 100.0% [43] 202(0.8%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [46] 100.0% ----------------------------------------------------------------------- loop [40] 42.7% loop [37] 57.3% [44] 11728(46.2%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [51] 47.2% map [48] 45.3% eval-prog [49] 7.5% ----------------------------------------------------------------------- loop [37] 18.9% loop [40] 81.1% [45] 7192(28.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [48] 100.0% ----------------------------------------------------------------------- override-at-pnts [43] 47.9% best-and-tied-at-points [42] 52.1% [46] 422(1.7%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [49] 52.1% for-loop [50] 47.9% ----------------------------------------------------------------------- for-loop [41] 100.0% [47] 204(0.8%) 204(0.8%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 ----------------------------------------------------------------------- parse-loop50 [61] 3.4% f143 [22] 6.0% make-exacts* [44] 38.5% loop [45] 52.1% [48] 13802(54.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [51] 84.9% parse-loop50 [61] 6.5% ??? [53] 5.7% f143 [22] 2.9% ----------------------------------------------------------------------- errors [46] 11.7% loop [40] 41.4% make-exacts* [44] 46.9% [49] 1876(7.4%) 756(3.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [54] 46.9% parse-app [52] 12.8% ----------------------------------------------------------------------- errors [46] 100.0% [50] 202(0.8%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [53] 100.0% ----------------------------------------------------------------------- post-process [19] 0.2% make-exacts* [44] 0.5% append-map [28] 1.8% map [48] 2.4% parse-loop50 [61] 3.2% ??? [6] 4.4% loop [51] 87.4% [51] 19798(78.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [51] 87.4% hash-ref! [54] 4.4% parse-loop50 [61] 3.2% ??? [53] 2.9% taylor-alt [55] 1.8% completely-simplify-alt [56] 0.2% ??? [67] 0.0% ->flonum [57] 0.0% ----------------------------------------------------------------------- eval-prog [49] 100.0% [52] 240(0.9%) 240(0.9%) parse-app .../collects/racket/private/kw.rkt:903:2 ----------------------------------------------------------------------- for-loop [50] 1.1% map [48] 4.4% loop [51] 94.5% [53] 17992(70.9%) 992(3.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [58] 62.4% real->bigfloat [60] 20.5% ??? [76] 11.6% ----------------------------------------------------------------------- for-loop [15] 0.8% taylor-sqrt [29] 1.6% ??? [65] 2.6% localize-error [26] 4.5% eval-prog [49] 6.5% loop [51] 13.1% for-loop [12] 14.3% for-loop [18] 15.0% ??? [62] 20.3% loop [10] 20.3% [54] 4480(17.7%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 simplify [16] 20.5% ??? [62] 20.3% ??? [4] 15.8% ??? [5] 15.0% ??? [6] 13.1% bigfloat-hash [63] 6.5% parse-loop50 [61] 4.5% ??? [65] 2.6% ??? [7] 0.8% ----------------------------------------------------------------------- loop [51] 16.9% append-map [28] 27.3% for-loop [27] 55.8% [55] 3818(15.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [59] 100.0% ----------------------------------------------------------------------- post-process [19] 50.0% loop [51] 50.0% [56] 400(1.6%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [64] 100.0% ----------------------------------------------------------------------- loop [51] 100.0% [57] 250(1.0%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [66] 100.0% ----------------------------------------------------------------------- ??? [53] 100.0% [58] 11226(44.3%) 454(1.8%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [67] 93.6% ...higher-order.rkt:373:33 [71] 2.3% ----------------------------------------------------------------------- taylor-alt [55] 100.0% [59] 3818(15.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [68] 100.0% ----------------------------------------------------------------------- ??? [53] 100.0% [60] 3684(14.5%) 2970(11.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [81] 19.4% ----------------------------------------------------------------------- hash-ref! [54] 5.9% loop [51] 8.7% map [48] 11.5% parse-loop50 [61] 33.5% simplify [16] 40.4% [61] 3398(13.4%) 2996(11.8%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [61] 33.5% loop [51] 14.6% map [48] 4.0% f143 [22] 2.9% ??? [73] 1.5% ----------------------------------------------------------------------- hash-ref! [54] 100.0% [62] 3178(12.5%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [54] 100.0% ----------------------------------------------------------------------- hash-ref! [54] 100.0% [63] 880(3.5%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [69] 100.0% ----------------------------------------------------------------------- completely-simplify-alt [56] 48.7% simplify [38] 51.3% [64] 822(3.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [70] 73.2% loop [72] 26.8% ----------------------------------------------------------------------- hash-ref! [54] 100.0% [65] 624(2.5%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:357:30 hash-ref! [54] 100.0% ----------------------------------------------------------------------- ->flonum [57] 100.0% [66] 250(1.0%) 250(1.0%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- loop [51] 1.9% ??? [58] 98.1% [67] 10714(42.2%) 2370(9.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [74] 33.5% bfsqrt [75] 26.0% ??? [80] 18.4% ----------------------------------------------------------------------- for-loop [59] 40.7% location-do [68] 59.3% [68] 3818(15.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [68] 59.3% approximate9 [3] 40.7% ----------------------------------------------------------------------- bigfloat-hash [63] 100.0% [69] 880(3.5%) 880(3.5%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ----------------------------------------------------------------------- simplify-expr [64] 100.0% [70] 602(2.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [77] 100.0% ----------------------------------------------------------------------- ??? [58] 100.0% [71] 260(1.0%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [76] 100.0% ----------------------------------------------------------------------- simplify-expr [64] 100.0% [72] 220(0.9%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [78] 100.0% ----------------------------------------------------------------------- parse-loop50 [61] 100.0% [73] 200(0.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/reduce.rkt:52:5 for-loop [79] 100.0% ----------------------------------------------------------------------- ??? [67] 100.0% [74] 3590(14.2%) 2946(11.6%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [81] 17.9% ----------------------------------------------------------------------- ??? [67] 100.0% [75] 2782(11.0%) 1672(6.6%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [81] 39.9% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [71] 11.1% ??? [53] 88.9% [76] 2350(9.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [80] 100.0% ----------------------------------------------------------------------- iterate-egraph!5 [70] 100.0% [77] 602(2.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [82] 100.0% ----------------------------------------------------------------------- loop [72] 100.0% [78] 220(0.9%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 hash-set*+ [83] 100.0% ----------------------------------------------------------------------- ??? [73] 100.0% [79] 200(0.8%) 0(0.0%) for-loop ...atlock/herbie/src/core/reduce.rkt:53:7 pattern-match [84] 100.0% ----------------------------------------------------------------------- ??? [67] 45.6% ??? [76] 54.4% [80] 4322(17.0%) 1680(6.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [85] 61.1% ----------------------------------------------------------------------- bfsub [74] 26.1% real->bigfloat [60] 28.9% bfsqrt [75] 45.0% [81] 2468(9.7%) 2468(9.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- for-loop [82] 50.0% one-iter [77] 50.0% [82] 602(2.4%) 202(0.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [82] 50.0% match-e [86] 33.2% ----------------------------------------------------------------------- pass [78] 100.0% [83] 220(0.9%) 220(0.9%) hash-set*+ ...k/herbie/src/core/simplify.rkt:175:0 ----------------------------------------------------------------------- for-loop [79] 100.0% [84] 200(0.8%) 200(0.8%) pattern-match .../herbie/src/core/matcher.rkt:47:0 ----------------------------------------------------------------------- ??? [80] 100.0% [85] 2642(10.4%) 1990(7.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [87] 24.7% ----------------------------------------------------------------------- for-loop [82] 100.0% [86] 400(1.6%) 400(1.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ----------------------------------------------------------------------- ??? [85] 100.0% [87] 652(2.6%) 652(2.6%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -----------------------------------------------------------------------