Profiling results ----------------- Total cpu time observed: 12732ms (out of 13056ms) Number of samples taken: 57 (once every 223ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [23] 100.0% [1] 12300(96.6%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [2] 5648(44.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 63.4% finalize-table! [9] 36.6% ---------------------------------------------------------------------- hash-ref! [46] 100.0% [3] 642(5.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [10] 100.0% ---------------------------------------------------------------------- hash-ref! [46] 100.0% [4] 442(3.5%) 442(3.5%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [11] 24.9% ---------------------------------------------------------------------- loop [58] 100.0% [5] 240(1.9%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [46] 100.0% ---------------------------------------------------------------------- hash-ref! [46] 100.0% [6] 200(1.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [58] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 12300(96.6%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [23] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 3580(28.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [12] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 2068(16.2%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [13] 100.0% ---------------------------------------------------------------------- ??? [3] 100.0% [10] 642(5.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [46] 100.0% ---------------------------------------------------------------------- ??? [4] 100.0% [11] 220(1.7%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 hash-ref! [46] 100.0% ---------------------------------------------------------------------- for-loop [8] 100.0% [12] 3580(28.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [14] 64.1% gen-series! [16] 17.2% finalize-iter! [17] 12.6% choose-best-alt! [18] 6.1% ---------------------------------------------------------------------- finalize-table! [9] 100.0% [13] 2068(16.2%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [15] 59.2% loop [58] 31.1% ??? [21] 9.7% ---------------------------------------------------------------------- run-iter! [12] 100.0% [14] 2294(18.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [19] 100.0% ---------------------------------------------------------------------- post-process [13] 100.0% [15] 1224(9.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [20] 100.0% ---------------------------------------------------------------------- run-iter! [12] 100.0% [16] 614(4.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [22] 100.0% ---------------------------------------------------------------------- run-iter! [12] 100.0% [17] 452(3.6%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [21] 100.0% ---------------------------------------------------------------------- run-iter! [12] 100.0% [18] 220(1.7%) 0(0.0%) choose-best-alt! .../herbie/src/mainloop.rkt:120:0 ??? [21] 100.0% ---------------------------------------------------------------------- simplify! [14] 100.0% [19] 2294(18.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [23] 100.0% ---------------------------------------------------------------------- for-loop [15] 100.0% [20] 1224(9.6%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [24] 67.3% loop [58] 32.7% ---------------------------------------------------------------------- post-process [13] 22.9% choose-best-alt! [18] 25.2% finalize-iter! [17] 51.8% [21] 872(6.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [25] 74.8% atab-pick-alt8 [26] 25.2% ---------------------------------------------------------------------- gen-series! [16] 100.0% [22] 614(4.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [24] 100.0% ---------------------------------------------------------------------- for-loop [19] 6.0% run [7] 45.3% [23] 12732(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 45.3% loop [27] 29.5% run-improve58 [2] 19.2% simplify [28] 6.0% ---------------------------------------------------------------------- loop [58] 21.8% for-loop [22] 33.4% append-map [20] 44.8% [24] 1838(14.4%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [29] 100.0% ---------------------------------------------------------------------- ??? [21] 100.0% [25] 652(5.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [30] 100.0% ---------------------------------------------------------------------- ??? [21] 100.0% [26] 220(1.7%) 0(0.0%) atab-pick-alt8 ...rbie/src/core/alt-table.rkt:54:0 ??? [31] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [27] 7084(55.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [32] 49.2% make-exacts* [37] 35.3% loop [38] 15.5% ---------------------------------------------------------------------- ??? [23] 100.0% [28] 2294(18.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [64] 81.5% for-loop [35] 18.5% ---------------------------------------------------------------------- taylor-alt [24] 100.0% [29] 1838(14.4%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [33] 100.0% ---------------------------------------------------------------------- for-loop [25] 100.0% [30] 652(5.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [34] 100.0% ---------------------------------------------------------------------- atab-pick-alt8 [26] 100.0% [31] 220(1.7%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:369:33 best-alt [36] 100.0% ---------------------------------------------------------------------- loop [27] 100.0% [32] 3486(27.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [38] 55.2% make-exacts* [37] 26.6% eval-prog [44] 18.1% ---------------------------------------------------------------------- location-do [33] 47.8% for-loop [29] 52.2% [33] 1838(14.4%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [39] 48.5% location-do [33] 47.8% simplify [47] 3.7% ---------------------------------------------------------------------- atab-add-altn [30] 100.0% [34] 652(5.1%) 200(1.6%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [43] 69.3% ---------------------------------------------------------------------- simplify [28] 100.0% [35] 424(3.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [68] 100.0% ---------------------------------------------------------------------- ??? [31] 100.0% [36] 220(1.7%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:79:0 argmins [40] 100.0% ---------------------------------------------------------------------- loop [32] 27.1% loop [27] 72.9% [37] 3426(26.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [58] 50.3% map [55] 49.7% ---------------------------------------------------------------------- loop [27] 36.4% loop [32] 63.6% [38] 3026(23.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [55] 100.0% ---------------------------------------------------------------------- location-do [33] 100.0% [39] 1636(12.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [41] 62.0% f6 [54] 38.0% ---------------------------------------------------------------------- best-alt [36] 100.0% [40] 220(1.7%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:85:0 composed [42] 100.0% ---------------------------------------------------------------------- approximate9 [39] 100.0% [41] 1014(8.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [46] 100.0% ---------------------------------------------------------------------- argmins [40] 100.0% [42] 220(1.7%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [43] 100.0% ---------------------------------------------------------------------- composed [42] 32.7% best-and-tied-at-points [34] 67.3% [43] 672(5.3%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [44] 67.3% for-loop [45] 32.7% ---------------------------------------------------------------------- errors [43] 41.7% loop [32] 58.3% [44] 1084(8.5%) 452(3.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [46] 58.3% ---------------------------------------------------------------------- errors [43] 100.0% [45] 220(1.7%) 220(1.7%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ---------------------------------------------------------------------- for-loop [11] 2.1% taylor-sqrt [56] 2.1% localize-error [5] 2.3% ??? [50] 4.7% loop [58] 6.3% ??? [61] 9.1% for-loop [10] 10.0% ??? [48] 15.1% eval-prog [44] 23.7% loop [41] 24.6% [46] 2106(16.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 bigfloat-hash [49] 23.7% simplify [47] 22.0% ??? [48] 15.1% ??? [3] 10.0% parse-loop50 [51] 9.1% ??? [4] 6.8% ??? [6] 6.3% ??? [50] 4.7% f6 [54] 2.3% ---------------------------------------------------------------------- location-do [33] 16.9% taylor-sqrt [56] 16.9% hash-ref! [46] 66.2% [47] 1196(9.4%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [51] 83.1% f6 [54] 16.9% ---------------------------------------------------------------------- hash-ref! [46] 100.0% [48] 814(6.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [46] 100.0% ---------------------------------------------------------------------- hash-ref! [46] 100.0% [49] 632(5.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [52] 68.4% bfcanonicalize [53] 31.6% ---------------------------------------------------------------------- hash-ref! [46] 100.0% [50] 442(3.5%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:357:30 hash-ref! [46] 100.0% ---------------------------------------------------------------------- loop [58] 4.1% hash-ref! [46] 19.4% parse-loop50 [51] 24.1% simplify [47] 52.4% [51] 1234(9.7%) 594(4.7%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [51] 24.1% loop [58] 23.5% f6 [54] 20.3% ---------------------------------------------------------------------- bigfloat-hash [49] 100.0% [52] 432(3.4%) 432(3.4%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- bigfloat-hash [49] 100.0% [53] 200(1.6%) 200(1.6%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ---------------------------------------------------------------------- simplify [47] 4.6% f6 [54] 11.5% map [55] 13.8% hash-ref! [46] 16.4% approximate9 [39] 26.5% parse-loop50 [51] 27.3% [54] 1464(11.5%) 602(4.7%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [55] 30.1% taylor-sqrt [56] 21.9% f6 [54] 11.5% taylor [57] 4.6% ---------------------------------------------------------------------- f6 [54] 12.0% make-exacts* [37] 31.7% loop [38] 56.3% [55] 5372(42.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [58] 88.0% f6 [54] 7.5% ??? [61] 4.5% ---------------------------------------------------------------------- f6 [54] 100.0% [56] 422(3.3%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 hash-ref! [46] 52.1% simplify [47] 47.9% ---------------------------------------------------------------------- f6 [54] 100.0% [57] 200(1.6%) 200(1.6%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 ---------------------------------------------------------------------- make-exacts* [37] 0.1% post-process [13] 0.8% map [55] 2.2% ??? [6] 2.5% parse-loop50 [51] 3.5% append-map [20] 5.1% loop [58] 85.8% [58] 7896(62.0%) 202(1.6%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [58] 85.8% taylor-alt [24] 5.1% hash-ref! [46] 2.5% parse-loop50 [51] 2.5% ??? [59] 2.2% ??? [61] 0.8% completely-simplify-alt [60] 0.5% localize-error [5] 0.3% ...higher-order.rkt:373:33 [70] 0.3% ->flonum [62] 0.0% ---------------------------------------------------------------------- loop [58] 100.0% [59] 6020(47.3%) 244(1.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [63] 50.6% real->bigfloat [65] 37.2% ...e/case-arrow.rkt:150:50 [66] 8.1% ---------------------------------------------------------------------- loop [58] 100.0% [60] 404(3.2%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [64] 100.0% ---------------------------------------------------------------------- map [55] 25.0% loop [58] 75.0% [61] 240(1.9%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [46] 100.0% ---------------------------------------------------------------------- loop [58] 100.0% [62] 230(1.8%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [67] 100.0% ---------------------------------------------------------------------- ??? [59] 100.0% [63] 3048(23.9%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [69] 83.9% ...higher-order.rkt:373:33 [70] 16.1% ---------------------------------------------------------------------- completely-simplify-alt [60] 17.8% simplify [28] 82.2% [64] 2274(17.9%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [68] 100.0% ---------------------------------------------------------------------- ??? [59] 100.0% [65] 2242(17.6%) 1992(15.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [75] 11.2% ---------------------------------------------------------------------- ??? [59] 100.0% [66] 486(3.8%) 486(3.8%) ...e/case-arrow.rkt:150:50 (unknown source) ---------------------------------------------------------------------- ->flonum [62] 100.0% [67] 230(1.8%) 230(1.8%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- for-loop [35] 15.7% simplify-expr [64] 84.3% [68] 2698(21.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [71] 100.0% ---------------------------------------------------------------------- ??? [63] 100.0% [69] 2556(20.1%) 256(2.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfadd [72] 80.2% ??? [78] 9.8% ---------------------------------------------------------------------- loop [58] 32.8% ??? [63] 67.2% [70] 732(5.7%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [73] 67.2% ??? [76] 32.8% ---------------------------------------------------------------------- iterate-egraph!5 [68] 100.0% [71] 2698(21.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [74] 76.8% loop [77] 15.4% apply-match [80] 7.8% ---------------------------------------------------------------------- ??? [69] 100.0% [72] 2050(16.1%) 1090(8.6%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [75] 46.8% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [70]100.0% [73] 492(3.9%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [76] 100.0% ---------------------------------------------------------------------- for-loop [74] 44.6% one-iter [71] 55.4% [74] 2072(16.3%) 1228(9.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [74] 44.6% match-e [79] 20.4% ---------------------------------------------------------------------- real->bigfloat [65] 20.7% bfadd [72] 79.3% [75] 1210(9.5%) 1210(9.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [70] 32.8% ??? [73] 67.2% [76] 732(5.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [78] 100.0% ---------------------------------------------------------------------- one-iter [71] 100.0% [77] 416(3.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [80] 100.0% ---------------------------------------------------------------------- ??? [69] 25.5% ??? [76] 74.5% [78] 982(7.7%) 250(2.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [81] 74.5% ---------------------------------------------------------------------- for-loop [74] 100.0% [79] 844(6.6%) 422(3.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [82] 50.0% ---------------------------------------------------------------------- one-iter [71] 33.5% loop [77] 66.5% [80] 626(4.9%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 loop! [83] 66.5% substitute-e [84] 33.5% ---------------------------------------------------------------------- ??? [78] 100.0% [81] 732(5.7%) 242(1.9%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [85] 66.9% ---------------------------------------------------------------------- match-e [79] 100.0% [82] 422(3.3%) 202(1.6%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 list-cartesian-product [86] 52.1% ---------------------------------------------------------------------- apply-match [80] 100.0% [83] 416(3.3%) 200(1.6%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [87] 51.9% ---------------------------------------------------------------------- apply-match [80] 100.0% [84] 210(1.6%) 0(0.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 mk-enode! [88] 100.0% ---------------------------------------------------------------------- ??? [81] 100.0% [85] 490(3.8%) 490(3.8%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------- list-cartesian-product [86] 50.0% for-loop [82] 50.0% [86] 220(1.7%) 220(1.7%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [86] 50.0% ---------------------------------------------------------------------- loop! [83] 100.0% [87] 216(1.7%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [89] 100.0% ---------------------------------------------------------------------- substitute-e [84] 100.0% [88] 210(1.6%) 0(0.0%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 hash-has-key? [90] 100.0% ---------------------------------------------------------------------- custom-set-union [87] 100.0% [89] 216(1.7%) 0(0.0%) for-loop ...cts/racket/private/set-types.rkt:174:3 for-loop [91] 100.0% ---------------------------------------------------------------------- mk-enode! [88] 100.0% [90] 210(1.6%) 210(1.6%) hash-has-key? ...et/private/more-scheme.rkt:368:13 ---------------------------------------------------------------------- for-loop [89] 100.0% [91] 216(1.7%) 216(1.7%) for-loop ...cts/racket/private/set-types.rkt:178:5 ----------------------------------------------------------------------