Profiling results ----------------- Total cpu time observed: 20590ms (out of 20956ms) Number of samples taken: 85 (once every 242ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [28] 100.0% [1] 20170(98.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ---------------------------------------------------------------------- ??? [28] 100.0% [2] 3848(18.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [9] 56.8% for-loop [10] 43.2% ---------------------------------------------------------------------- ??? [28] 100.0% [3] 1024(5.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [11] 100.0% ---------------------------------------------------------------------- copying-mergesort [43] 100.0% [4] 644(3.1%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [57] 100.0% ---------------------------------------------------------------------- loop [67] 100.0% [5] 240(1.2%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [61] 100.0% ---------------------------------------------------------------------- hash-ref! [61] 100.0% [6] 200(1.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop12 [64] 100.0% ---------------------------------------------------------------------- hash-ref! [61] 100.0% [7] 200(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [12] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [8] 20170(98.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [28] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 2184(10.6%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [13] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 1664(8.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% ---------------------------------------------------------------------- simplify [3] 100.0% [11] 1024(5.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [15] 100.0% ---------------------------------------------------------------------- ??? [7] 100.0% [12] 200(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [61] 100.0% ---------------------------------------------------------------------- get-final-combination [9] 100.0% [13] 2184(10.6%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [16] 68.8% ??? [24] 31.2% ---------------------------------------------------------------------- for-loop [10] 100.0% [14] 1664(8.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [17] 61.5% localize-error [19] 14.4% gen-series! [20] 12.0% finalize-iter! [21] 12.0% ---------------------------------------------------------------------- simplify-expr [11] 100.0% [15] 1024(5.0%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [18] 100.0% ---------------------------------------------------------------------- split-table [13] 100.0% [16] 1502(7.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [22] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [17] 1024(5.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [23] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [15] 100.0% [18] 1024(5.0%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [25] 80.5% loop [27] 19.5% ---------------------------------------------------------------------- run-iter! [14] 100.0% [19] 240(1.2%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [61] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [20] 200(1.0%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [26] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [21] 200(1.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [24] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [16] 100.0% [22] 1502(7.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [29] 86.7% err-lsts->split-indices [31] 13.3% ---------------------------------------------------------------------- simplify! [17] 100.0% [23] 1024(5.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [28] 100.0% ---------------------------------------------------------------------- finalize-iter! [21] 22.7% split-table [13] 77.3% [24] 882(4.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 split-atab [30] 77.3% atab-add-altns [32] 22.7% ---------------------------------------------------------------------- for-loop [25] 50.0% one-iter [18] 50.0% [25] 824(4.0%) 602(2.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [25] 50.0% match-e [38] 13.5% ---------------------------------------------------------------------- gen-series! [20] 100.0% [26] 200(1.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [33] 100.0% ---------------------------------------------------------------------- one-iter [18] 100.0% [27] 200(1.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [34] 100.0% ---------------------------------------------------------------------- for-loop [23] 1.7% run [8] 48.2% [28] 20590(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.2% loop [35] 41.1% run-improve58 [2] 9.1% simplify [3] 1.7% ---------------------------------------------------------------------- option-on-expr [22] 100.0% [29] 1302(6.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [36] 100.0% ---------------------------------------------------------------------- ??? [24] 100.0% [30] 682(3.3%) 0(0.0%) split-atab ...k/herbie/src/core/alt-table.rkt:74:0 for-loop [37] 100.0% ---------------------------------------------------------------------- option-on-expr [22] 100.0% [31] 200(1.0%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [39] 100.0% ---------------------------------------------------------------------- ??? [24] 100.0% [32] 200(1.0%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [40] 100.0% ---------------------------------------------------------------------- for-loop [26] 100.0% [33] 200(1.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [41] 100.0% ---------------------------------------------------------------------- loop [27] 100.0% [34] 200(1.0%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [38] 100.0% ---------------------------------------------------------------------- ??? [28] 100.0% [35] 16742(81.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [42] 58.6% make-exacts* [50] 41.4% ---------------------------------------------------------------------- sort-context-on-expr [29] 100.0% [36] 1302(6.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [43] 81.7% loop [52] 18.3% ---------------------------------------------------------------------- split-atab [30] 100.0% [37] 682(3.3%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:75:2 for-loop [44] 64.8% for-loop [45] 35.2% ---------------------------------------------------------------------- for-loop [48] 23.7% apply-match [34] 23.7% for-loop [25] 52.6% [38] 422(2.0%) 222(1.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [48] 23.7% for-loop [46] 23.7% ---------------------------------------------------------------------- err-lsts->split-indices [31] 100.0% [39] 200(1.0%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [47] 100.0% ---------------------------------------------------------------------- atab-add-altns [32] 100.0% [40] 200(1.0%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 loop [67] 100.0% ---------------------------------------------------------------------- taylor-alt [33] 100.0% [41] 200(1.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [49] 100.0% ---------------------------------------------------------------------- loop [35] 100.0% [42] 9816(47.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [51] 53.5% make-exacts* [50] 39.2% eval-prog [60] 7.3% ---------------------------------------------------------------------- sort [36] 34.9% copying-mergesort [43] 65.1% [43] 1064(5.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [43] 65.1% loop [52] 19.7% jloop [4] 15.1% ---------------------------------------------------------------------- for-loop [37] 100.0% [44] 442(2.1%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:86:30 ??? [58] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [45] 240(1.2%) 0(0.0%) for-loop ...ck/herbie/src/core/alt-table.rkt:80:53 filter [53] 100.0% ---------------------------------------------------------------------- match-e [38] 100.0% [46] 200(1.0%) 200(1.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ---------------------------------------------------------------------- add-splitpoint [39] 100.0% [47] 200(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [54] 100.0% ---------------------------------------------------------------------- match-e [38] 100.0% [48] 200(1.0%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [38] 100.0% ---------------------------------------------------------------------- location-do [49] 50.0% for-loop [41] 50.0% [49] 200(1.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [49] 50.0% approximate9 [55] 50.0% ---------------------------------------------------------------------- loop [42] 35.7% loop [35] 64.3% [50] 10772(52.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [56] 52.9% loop [67] 41.5% eval-prog [60] 5.6% ---------------------------------------------------------------------- loop [42] 100.0% [51] 5256(25.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [56] 100.0% ---------------------------------------------------------------------- sort [36] 36.2% copying-mergesort [43] 63.8% [52] 658(3.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [57] 100.0% ---------------------------------------------------------------------- for-loop [45] 100.0% [53] 240(1.2%) 0(0.0%) filter ...t/collects/racket/private/list.rkt:256:2 ??? [58] 100.0% ---------------------------------------------------------------------- for-loop [47] 100.0% [54] 200(1.0%) 200(1.0%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ---------------------------------------------------------------------- location-do [49] 100.0% [55] 200(1.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [59] 100.0% ---------------------------------------------------------------------- f6 [65] 2.1% loop [51] 46.9% make-exacts* [50] 50.9% [56] 11196(54.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [67] 97.8% ??? [70] 2.2% ---------------------------------------------------------------------- jloop [4] 49.5% loop [52] 50.5% [57] 1302(6.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [60] 100.0% ---------------------------------------------------------------------- filter [53] 35.2% for-loop [44] 64.8% [58] 682(3.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/regimes.rkt:291:8 eval-prog [60] 100.0% ---------------------------------------------------------------------- approximate9 [55] 100.0% [59] 200(1.0%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [61] 100.0% ---------------------------------------------------------------------- make-exacts* [50] 18.1% ??? [58] 20.7% loop [42] 21.7% ??? [57] 39.5% [60] 3296(16.0%) 1984(9.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [61] 39.8% ---------------------------------------------------------------------- for-loop [12] 3.8% ??? [66] 3.8% loop [59] 3.8% ??? [5] 6.8% localize-error [19] 6.8% eval-prog [60] 28.4% loop [67] 46.5% [61] 1752(8.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [63] 46.5% bigfloat-hash [62] 28.4% parse-loop12 [64] 6.8% f6 [65] 6.8% ??? [66] 3.8% ??? [7] 3.8% simplify [6] 3.8% ---------------------------------------------------------------------- hash-ref! [61] 100.0% [62] 1312(6.4%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 bfcanonicalize [68] 84.8% sig+exp->bigfloat [69] 15.2% ---------------------------------------------------------------------- hash-ref! [61] 100.0% [63] 1312(6.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [67] 100.0% ---------------------------------------------------------------------- simplify [6] 45.5% hash-ref! [61] 54.5% [64] 440(2.1%) 200(1.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [67] 54.5% ---------------------------------------------------------------------- hash-ref! [61] 100.0% [65] 240(1.2%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [56] 100.0% ---------------------------------------------------------------------- hash-ref! [61] 100.0% [66] 200(1.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [61] 100.0% ---------------------------------------------------------------------- parse-loop12 [64] 0.0% make-exacts* [50] 0.1% atab-add-altn [40] 1.2% map [56] 3.1% ??? [63] 4.6% loop [67] 91.0% [67] 16934(82.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [67] 91.0% hash-ref! [61] 4.6% ??? [70] 3.1% loop [72] 1.2% ??? [5] 0.0% ??? [82] 0.0% ->flonum [71] 0.0% ---------------------------------------------------------------------- bigfloat-hash [62] 100.0% [68] 1112(5.4%) 914(4.4%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 bigfloat->sig+exp [73] 17.8% ---------------------------------------------------------------------- bigfloat-hash [62] 100.0% [69] 200(1.0%) 200(1.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- map [56] 1.6% loop [67] 98.4% [70] 15192(73.8%) 228(1.1%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [74] 92.1% real->bigfloat [75] 3.2% ??? [85] 1.6% ...e/case-arrow.rkt:150:50 [76] 1.6% ---------------------------------------------------------------------- loop [67] 100.0% [71] 238(1.2%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [87] 100.0% ---------------------------------------------------------------------- loop [67] 1.1% loop [72] 98.9% [72] 200(1.0%) 200(1.0%) loop ...ket/collects/racket/private/list.rkt:82:16 loop [72] 98.9% ---------------------------------------------------------------------- bfcanonicalize [68] 100.0% [73] 198(1.0%) 0(0.0%) bigfloat->sig+exp ...ivate/bigfloat/mpfr.rkt:370:0 size+limbs->integer [77] 100.0% ---------------------------------------------------------------------- ??? [70] 100.0% [74] 13998(68.0%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [82] 80.2% ...higher-order.rkt:373:33 [78] 12.8% ...higher-order.rkt:369:33 [79] 3.6% bf* [80] 1.7% bf/ [81] 1.6% ---------------------------------------------------------------------- ??? [70] 100.0% [75] 490(2.4%) 258(1.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [88] 47.3% ---------------------------------------------------------------------- ??? [70] 100.0% [76] 236(1.1%) 236(1.1%) ...e/case-arrow.rkt:150:50 (unknown source) ---------------------------------------------------------------------- bigfloat->sig+exp [73] 100.0% [77] 198(1.0%) 198(1.0%) size+limbs->integer ...vate/bigfloat/gmp.rkt:103:0 ---------------------------------------------------------------------- ??? [74] 100.0% [78] 1798(8.7%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [83] 76.0% ??? [85] 24.0% ---------------------------------------------------------------------- ??? [74] 100.0% [79] 510(2.5%) 0(0.0%) ...higher-order.rkt:369:33 (unknown source) ??? [83] 100.0% ---------------------------------------------------------------------- ??? [74] 100.0% [80] 240(1.2%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [82] 100.0% ---------------------------------------------------------------------- ??? [74] 100.0% [81] 226(1.1%) 226(1.1%) bf/ ...th/private/bigfloat/bigfloat-mpfr.rkt:102:0 ---------------------------------------------------------------------- loop [67] 2.1% bf* [80] 2.1% ??? [74] 95.9% [82] 11704(56.8%) 4692(22.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfadd [84] 48.3% bfexp [86] 5.9% ??? [87] 5.6% ---------------------------------------------------------------------- ...higher-order.rkt:369:33 [79] 27.2% ...higher-order.rkt:373:33 [78] 72.8% [83] 1876(9.1%) 240(1.2%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [85] 87.2% ---------------------------------------------------------------------- ??? [82] 100.0% [84] 5656(27.5%) 4024(19.5%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [88] 28.9% ---------------------------------------------------------------------- ??? [70] 10.4% ...higher-order.rkt:373:33 [78] 18.7% ??? [83] 70.9% [85] 2308(11.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [87] 100.0% ---------------------------------------------------------------------- ??? [82] 100.0% [86] 696(3.4%) 484(2.4%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [88] 30.5% ---------------------------------------------------------------------- ->flonum [71] 7.4% ??? [82] 20.6% ??? [85] 72.0% [87] 3206(15.6%) 1638(8.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [89] 42.0% ??? [90] 6.9% ---------------------------------------------------------------------- bfexp [86] 10.2% real->bigfloat [75] 11.2% bfadd [84] 78.6% [88] 2076(10.1%) 2076(10.1%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [87] 100.0% [89] 1348(6.5%) 458(2.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [91] 66.0% ---------------------------------------------------------------------- ??? [87] 100.0% [90] 220(1.1%) 0(0.0%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ??? [92] 100.0% ---------------------------------------------------------------------- ??? [89] 100.0% [91] 890(4.3%) 890(4.3%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------- ??? [90] 100.0% [92] 220(1.1%) 220(1.1%) ??? ...lects/racket/contract/private/orc.rkt:73:14 ----------------------------------------------------------------------