Profiling results ----------------- Total cpu time observed: 6642ms (out of 6836ms) Number of samples taken: 33 (once every 201ms) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== [1] 6642(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [9] 100.0% ------------------------------------------------------------------------ ??? [59] 100.0% [2] 1842(27.7%) 0(0.0%) approximate9 ...ie/master/src/core/taylor.rkt:11:0 loop [10] 85.2% debug-print [16] 14.8% ------------------------------------------------------------------------ hash-ref! [64] 100.0% [3] 1184(17.8%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [11] 83.6% ??? [17] 16.4% ------------------------------------------------------------------------ for-loop [93] 100.0% [4] 806(12.1%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [12] 100.0% ------------------------------------------------------------------------ matcher [75] 100.0% [5] 564(8.5%) 0(0.0%) ??? ...s/herbie/master/src/core/matcher.rkt:129:11 for-loop [13] 100.0% ------------------------------------------------------------------------ hash-ref! [64] 100.0% [6] 386(5.8%) 0(0.0%) f61 (unknown source) eval-const-expr [11] 100.0% ------------------------------------------------------------------------ hash-ref! [64] 100.0% [7] 386(5.8%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:300:23 for-loop [14] 100.0% ------------------------------------------------------------------------ hash-ref! [64] 100.0% [8] 384(5.8%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:290:26 for-loop [15] 100.0% ------------------------------------------------------------------------ ??? [1] 100.0% [9] 6642(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [18] 100.0% ------------------------------------------------------------------------ approximate9 [2] 100.0% [10] 1570(23.6%) 0(0.0%) loop ...ies/herbie/master/src/core/taylor.rkt:86:4 ??? [59] 100.0% ------------------------------------------------------------------------ f61 [6] 28.1% parse-loop74 [3] 71.9% [11] 1376(20.7%) 0(0.0%) eval-const-expr ...e/master/src/programs.rkt:144:0 temp85_0 [66] 85.5% loop [19] 14.5% ------------------------------------------------------------------------ syntax-e [4] 100.0% [12] 806(12.1%) 0(0.0%) syntax-e/no-taint (unknown source) loop [19] 100.0% ------------------------------------------------------------------------ ??? [5] 100.0% [13] 564(8.5%) 0(0.0%) for-loop ...bie/master/src/core/matcher.rkt:131:15 hash-ref! [64] 100.0% ------------------------------------------------------------------------ ??? [7] 100.0% [14] 386(5.8%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:303:27 hash-ref! [64] 100.0% ------------------------------------------------------------------------ ??? [8] 100.0% [15] 384(5.8%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:290:52 hash-ref! [64] 100.0% ------------------------------------------------------------------------ approximate9 [2] 100.0% [16] 272(4.1%) 0(0.0%) debug-print ...s/herbie/master/src/debug.rkt:110:0 ??? [20] 100.0% ------------------------------------------------------------------------ parse-loop74 [3] 100.0% [17] 194(2.9%) 0(0.0%) ??? ...lies/herbie/master/src/core/reduce.rkt:56:5 for-loop [21] 100.0% ------------------------------------------------------------------------ profile-thunk16 [9] 100.0% [18] 6642(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [22] 100.0% ------------------------------------------------------------------------ eval-const-expr [11] 19.9% syntax-e/no-taint [12] 80.1% [19] 1006(15.1%) 0(0.0%) loop (unknown source) gf [23] 80.1% expand-capturing-lifts [86] 19.9% ------------------------------------------------------------------------ debug-print [16] 100.0% [20] 272(4.1%) 0(0.0%) ??? .../contract/private/arrow-val-first.rkt:555:3 ~r92 [24] 100.0% ------------------------------------------------------------------------ ??? [17] 100.0% [21] 194(2.9%) 0(0.0%) for-loop ...herbie/master/src/core/reduce.rkt:57:7 pattern-match [81] 100.0% ------------------------------------------------------------------------ for-loop [67] 5.9% run [18] 94.1% [22] 6642(100.0%) 386(5.8%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [25] 65.6% prepare-points-intervals [26] 21.0% get-final-combination [29] 3.1% eval-errors [30] 3.0% ??? [28] 3.0% errors [60] 1.4% ------------------------------------------------------------------------ loop [19] 100.0% [23] 806(12.1%) 196(3.0%) gf (unknown source) propagation-apply [27] 75.7% ------------------------------------------------------------------------ ??? [20] 100.0% [24] 272(4.1%) 272(4.1%) ~r92 ...acket-7.5/collects/racket/format.rkt:189:0 ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [22] 100.0% [25] 4650(70.0%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:364:0 for-loop [31] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [22] 100.0% [26] 1394(21.0%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:122:0 loop [32] 100.0% ------------------------------------------------------------------------ gf [23] 100.0% [27] 610(9.2%) 610(9.2%) propagation-apply (unknown source) ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [22] 100.0% [28] 398(6.0%) 208(3.1%) ??? .../herbie/master/src/syntax/syntax.rkt:214:17 return/no-unsupplied [35] 47.7% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [22] 100.0% [29] 206(3.1%) 0(0.0%) get-final-combination ...er/src/mainloop.rkt:389:0 argmin [33] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [22] 100.0% [30] 200(3.0%) 0(0.0%) eval-errors .../herbie/master/src/points.rkt:170:0 for-loop [34] 100.0% ------------------------------------------------------------------------ run-improve47 [25] 100.0% [31] 4650(70.0%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:383:4 run-iter! [36] 100.0% ------------------------------------------------------------------------ prepare-points-intervals [26] 100.0% [32] 1394(21.0%) 0(0.0%) loop ...ghtlies/herbie/master/src/points.rkt:134:4 loop [37] 85.7% ??? [39] 14.3% ------------------------------------------------------------------------ get-final-combination [29] 100.0% [33] 206(3.1%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [38] 100.0% ------------------------------------------------------------------------ eval-errors [30] 100.0% [34] 200(3.0%) 200(3.0%) for-loop ...ies/herbie/master/src/points.rkt:172:2 ------------------------------------------------------------------------ ??? [28] 100.0% [35] 190(2.9%) 190(2.9%) return/no-unsupplied ...ct/private/arr-i.rkt:566:0 ------------------------------------------------------------------------ for-loop [31] 100.0% [36] 4650(70.0%) 0(0.0%) run-iter! .../herbie/master/src/mainloop.rkt:345:0 gen-series! [40] 39.6% finalize-iter! [41] 29.6% simplify! [42] 18.7% gen-rewrites! [43] 12.1% ------------------------------------------------------------------------ loop [32] 100.0% [37] 1194(18.0%) 788(11.9%) loop ...ightlies/herbie/master/src/points.rkt:79:2 ??? [59] 34.0% ------------------------------------------------------------------------ argmin [33] 100.0% [38] 206(3.1%) 0(0.0%) ??? ...tlies/herbie/master/src/mainloop.rkt:113:10 errors [60] 100.0% ------------------------------------------------------------------------ loop [32] 100.0% [39] 200(3.0%) 0(0.0%) ??? ...ightlies/herbie/master/src/points.rkt:115:6 sample-multi-bounded [44] 100.0% ------------------------------------------------------------------------ run-iter! [36] 100.0% [40] 1842(27.7%) 0(0.0%) gen-series! ...erbie/master/src/mainloop.rkt:159:0 for-loop [45] 100.0% ------------------------------------------------------------------------ run-iter! [36] 100.0% [41] 1376(20.7%) 0(0.0%) finalize-iter! ...ie/master/src/mainloop.rkt:277:0 ??? [46] 100.0% ------------------------------------------------------------------------ run-iter! [36] 100.0% [42] 868(13.1%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:223:0 ??? [47] 100.0% ------------------------------------------------------------------------ run-iter! [36] 100.0% [43] 564(8.5%) 0(0.0%) gen-rewrites! ...bie/master/src/mainloop.rkt:182:0 for-loop [48] 100.0% ------------------------------------------------------------------------ ??? [39] 100.0% [44] 200(3.0%) 0(0.0%) sample-multi-bounded ...master/src/points.rkt:14:0 random-ranges [49] 100.0% ------------------------------------------------------------------------ gen-series! [40] 100.0% [45] 1842(27.7%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:166:7 taylor-alt [50] 100.0% ------------------------------------------------------------------------ finalize-iter! [41] 100.0% [46] 1376(20.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [51] 100.0% ------------------------------------------------------------------------ simplify! [42] 100.0% [47] 868(13.1%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:42:0 egraph-run [52] 100.0% ------------------------------------------------------------------------ gen-rewrites! [43] 100.0% [48] 564(8.5%) 0(0.0%) for-loop .../herbie/master/src/mainloop.rkt:190:11 rewrite-expression-head23 [53] 100.0% ------------------------------------------------------------------------ sample-multi-bounded [44] 100.0% [49] 200(3.0%) 0(0.0%) random-ranges ...erbie/master/src/common.rkt:164:0 build--> [54] 100.0% ------------------------------------------------------------------------ for-loop [45] 100.0% [50] 1842(27.7%) 0(0.0%) taylor-alt ...herbie/master/src/mainloop.rkt:145:0 for-loop [55] 100.0% ------------------------------------------------------------------------ ??? [46] 100.0% [51] 1376(20.7%) 0(0.0%) for-loop ...ie/master/src/core/alt-table.rkt:192:2 atab-add-altn [57] 58.7% errors [60] 41.3% ------------------------------------------------------------------------ ??? [47] 100.0% [52] 868(13.1%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [56] 100.0% ------------------------------------------------------------------------ for-loop [48] 100.0% [53] 564(8.5%) 0(0.0%) rewrite-expression-head23 ...core/matcher.rkt:83:0 rewriter [58] 100.0% ------------------------------------------------------------------------ random-ranges [49] 100.0% [54] 200(3.0%) 200(3.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 ------------------------------------------------------------------------ taylor-alt [50] 100.0% [55] 1842(27.7%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:151:6 ??? [59] 100.0% ------------------------------------------------------------------------ egraph-run [52] 100.0% [56] 868(13.1%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [61] 100.0% ------------------------------------------------------------------------ for-loop [51] 100.0% [57] 808(12.2%) 0(0.0%) atab-add-altn ...ster/src/core/alt-table.rkt:195:0 errors [60] 75.2% override-at-pnts [63] 24.8% ------------------------------------------------------------------------ rewrite-expression-head23 [53] 30.4% matcher [75] 69.6% [58] 564(8.5%) 200(3.0%) rewriter ...erbie/master/src/core/matcher.rkt:85:2 for-loop [62] 91.1% ------------------------------------------------------------------------ loop [37] 18.1% loop [10] 23.3% location-do [65] 29.3% for-loop [55] 29.3% [59] 2248(33.8%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [65] 29.3% approximate9 [2] 29.3% hash-ref! [64] 23.3% ival-mult [69] 9.2% ival-div [71] 8.9% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [22] 12.2% ??? [38] 13.1% for-loop [51] 36.1% atab-add-altn [57] 38.6% [60] 1574(23.7%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:192:0 for-loop [67] 61.5% temp85_0 [66] 38.5% ------------------------------------------------------------------------ egraph-add-exprs [56] 100.0% [61] 868(13.1%) 0(0.0%) ??? ...s/herbie/master/src/core/simplify.rkt:103:6 for-loop [68] 100.0% ------------------------------------------------------------------------ rewriter [58] 100.0% [62] 564(8.5%) 0(0.0%) for-loop ...erbie/master/src/core/matcher.rkt:87:4 hash-ref! [64] 89.1% for-loop [72] 10.9% ------------------------------------------------------------------------ atab-add-altn [57] 100.0% [63] 200(3.0%) 0(0.0%) override-at-pnts ...r/src/core/alt-table.rkt:120:0 for-loop [70] 100.0% ------------------------------------------------------------------------ ??? [78] 2.3% for-loop [15] 3.8% ??? [77] 3.8% for-loop [14] 5.2% for-loop [13] 12.4% for-loop [62] 14.1% ??? [74] 24.7% ??? [59] 33.8% [64] 2134(32.1%) 180(2.7%) hash-ref! .../racket/private/more-scheme.rkt:376:2 parse-loop74 [3] 27.6% matcher [75] 24.7% ??? [74] 24.7% f61 [6] 6.1% ??? [7] 5.2% ??? [77] 3.8% ??? [8] 3.8% ??? [78] 2.3% ------------------------------------------------------------------------ location-do [65] 10.8% ??? [59] 89.2% [65] 1842(27.7%) 0(0.0%) location-do ...herbie/master/src/programs.rkt:87:0 ??? [59] 89.2% location-do [65] 10.8% ------------------------------------------------------------------------ errors [60] 34.0% eval-const-expr [11] 66.0% [66] 1782(26.8%) 0(0.0%) temp85_0 (unknown source) compile15 [73] 100.0% ------------------------------------------------------------------------ errors [60] 100.0% [67] 968(14.6%) 184(2.8%) for-loop ...ies/herbie/master/src/points.rkt:194:2 .../more-scheme.rkt:261:28 [22] 81.0% ------------------------------------------------------------------------ ??? [61] 100.0% [68] 868(13.1%) 868(13.1%) for-loop ...bie/master/src/core/simplify.rkt:121:2 ------------------------------------------------------------------------ ??? [59] 100.0% [69] 206(3.1%) 0(0.0%) ival-mult ...rbie/master/src/biginterval.rkt:129:0 bfdiv [76] 100.0% ------------------------------------------------------------------------ override-at-pnts [63] 100.0% [70] 200(3.0%) 200(3.0%) for-loop ...e/master/src/core/alt-table.rkt:121:22 ------------------------------------------------------------------------ ??? [59] 100.0% [71] 200(3.0%) 0(0.0%) ival-div ...erbie/master/src/biginterval.rkt:149:0 bfdiv [76] 100.0% ------------------------------------------------------------------------ for-loop [62] 100.0% [72] 184(2.8%) 0(0.0%) for-loop ...erbie/master/src/core/matcher.rkt:94:8 fix-up-variables [79] 100.0% ------------------------------------------------------------------------ temp85_0 [66] 100.0% [73] 1782(26.8%) 0(0.0%) compile15 (unknown source) temp91_0 [80] 100.0% ------------------------------------------------------------------------ hash-ref! [64] 100.0% [74] 1376(20.7%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:44:15 hash-ref! [64] 100.0% ------------------------------------------------------------------------ hash-ref! [64] 100.0% [75] 564(8.5%) 0(0.0%) matcher ...erbie/master/src/core/matcher.rkt:117:2 ??? [5] 50.0% rewriter [58] 50.0% ------------------------------------------------------------------------ ival-div [71] 49.3% ival-mult [69] 50.7% [76] 406(6.1%) 0(0.0%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [82] 50.7% new-mpfr [83] 49.3% ------------------------------------------------------------------------ hash-ref! [64] 100.0% [77] 386(5.8%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:343:33 hash-ref! [64] 100.0% ------------------------------------------------------------------------ hash-ref! [64] 100.0% [78] 198(3.0%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:327:33 hash-ref! [64] 100.0% ------------------------------------------------------------------------ for-loop [72] 100.0% [79] 184(2.8%) 0(0.0%) fix-up-variables ...ter/src/core/matcher.rkt:106:2 pattern-match [81] 100.0% ------------------------------------------------------------------------ compile15 [73] 100.0% [80] 1782(26.8%) 0(0.0%) temp91_0 (unknown source) temp118_0 [84] 100.0% ------------------------------------------------------------------------ fix-up-variables [79] 48.7% for-loop [21] 51.3% [81] 378(5.7%) 0(0.0%) pattern-match .../master/src/core/matcher.rkt:29:0 for-loop [85] 100.0% ------------------------------------------------------------------------ bfdiv [76] 100.0% [82] 206(3.1%) 206(3.1%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ------------------------------------------------------------------------ bfdiv [76] 100.0% [83] 200(3.0%) 200(3.0%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ------------------------------------------------------------------------ temp91_0 [80] 100.0% [84] 1782(26.8%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [86] 88.4% datum->syntax6 [103] 11.6% ------------------------------------------------------------------------ pattern-match [81] 100.0% [85] 378(5.7%) 0(0.0%) for-loop ...erbie/master/src/core/matcher.rkt:26:9 core457 [87] 100.0% ------------------------------------------------------------------------ loop [19] 11.3% temp118_0 [84] 88.7% [86] 1776(26.7%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [88] 88.7% dispatch-transformer41 [95] 11.3% ------------------------------------------------------------------------ for-loop [85] 100.0% [87] 378(5.7%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 un-dep/maybe-chaperone [89] 100.0% ------------------------------------------------------------------------ expand-capturing-lifts [86] 100.0% [88] 1576(23.7%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [90] 100.0% ------------------------------------------------------------------------ core457 [87] 100.0% [89] 378(5.7%) 0(0.0%) un-dep/maybe-chaperone ...private/arr-i.rkt:1137:2 get/build-late-neg-projection [91] 51.3% ??? [92] 48.7% ------------------------------------------------------------------------ lambda-clause-expander [88] 18.9% for-loop [93] 81.1% [90] 1576(23.7%) 198(3.0%) finish-bodys (unknown source) for-loop [93] 95.8% ------------------------------------------------------------------------ un-dep/maybe-chaperone [89] 100.0% [91] 194(2.9%) 194(2.9%) get/build-late-neg-projection ...te/guts.rkt:827:0 ------------------------------------------------------------------------ un-dep/maybe-chaperone [89] 100.0% [92] 184(2.8%) 0(0.0%) ??? ...llects/racket/contract/private/orc.rkt:88:2 ??? [94] 100.0% ------------------------------------------------------------------------ for-loop [93] 17.1% finish-bodys [90] 82.9% [93] 1576(23.7%) 0(0.0%) for-loop (unknown source) finish-bodys [90] 70.5% for-loop [93] 17.1% dispatch-transformer41 [95] 5.9% syntax-e [4] 5.1% expand-identifier [96] 0.8% dispatch-variable [97] 0.6% ------------------------------------------------------------------------ ??? [92] 100.0% [94] 184(2.8%) 0(0.0%) ??? ...cts/racket/contract/private/guts.rkt:835:10 ??? [98] 100.0% ------------------------------------------------------------------------ for-loop [93] 48.2% expand-capturing-lifts [86] 51.8% [95] 386(5.8%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [99] 100.0% ------------------------------------------------------------------------ for-loop [93] 100.0% [96] 196(3.0%) 0(0.0%) expand-identifier (unknown source) resolve+shift28 [100] 100.0% ------------------------------------------------------------------------ for-loop [93] 100.0% [97] 190(2.9%) 0(0.0%) dispatch-variable (unknown source) substitute-variable6 [101] 100.0% ------------------------------------------------------------------------ ??? [94] 100.0% [98] 184(2.8%) 0(0.0%) ??? ...ntract/private/arrow-higher-order.rkt:575:2 get-blame-party-info [102] 100.0% ------------------------------------------------------------------------ dispatch-transformer41 [95] 100.0% [99] 386(5.8%) 200(3.0%) apply-transformer52 (unknown source) apply-transformer-in-context [105] 48.2% ------------------------------------------------------------------------ expand-identifier [96] 100.0% [100] 196(3.0%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [104] 100.0% ------------------------------------------------------------------------ dispatch-variable [97] 100.0% [101] 190(2.9%) 0(0.0%) substitute-variable6 (unknown source) datum->syntax6 [103] 100.0% ------------------------------------------------------------------------ ??? [98] 100.0% [102] 184(2.8%) 0(0.0%) get-blame-party-info ...ate/arrow-common.rkt:136:0 show-blame-negative [106] 100.0% ------------------------------------------------------------------------ substitute-variable6 [101] 48.0% temp118_0 [84] 52.0% [103] 396(6.0%) 396(6.0%) datum->syntax6 (unknown source) ------------------------------------------------------------------------ resolve+shift28 [100] 100.0% [104] 196(3.0%) 196(3.0%) fallback-loop (unknown source) ------------------------------------------------------------------------ apply-transformer52 [99] 100.0% [105] 186(2.8%) 186(2.8%) apply-transformer-in-context (unknown source) ------------------------------------------------------------------------ get-blame-party-info [102] 100.0% [106] 184(2.8%) 184(2.8%) show-blame-negative ...act/private/blame.rkt:342:0 ------------------------------------------------------------------------