Profiling results ----------------- Total cpu time observed: 5232ms (out of 5260ms) Number of samples taken: 25 (once every 209ms) ========================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ========================================================================= [1] 5232(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [9] 100.0% ------------------------------------------------------------------------- hash-ref! [83] 100.0% [2] 1060(20.3%) 0(0.0%) ??? ...ore-to-egg-herbie/src/core/taylor.rkt:68:15 ??? [77] 55.1% hash-ref! [83] 44.9% ------------------------------------------------------------------------- ??? [77] 100.0% [3] 1060(20.3%) 0(0.0%) approximate9 ...gg-herbie/src/core/taylor.rkt:12:0 loop [10] 100.0% ------------------------------------------------------------------------- hash-ref! [83] 100.0% [4] 816(15.6%) 0(0.0%) ??? ...ore-to-egg-herbie/src/core/taylor.rkt:45:15 hash-ref! [83] 75.5% ??? [14] 24.5% ------------------------------------------------------------------------- map [11] 19.5% hash-ref! [83] 80.5% [5] 816(15.6%) 0(0.0%) f41 (unknown source) map [11] 100.0% ------------------------------------------------------------------------- hash-ref! [83] 100.0% [6] 408(7.8%) 0(0.0%) ??? ...re-to-egg-herbie/src/core/taylor.rkt:291:26 for-loop [12] 100.0% ------------------------------------------------------------------------- hash-ref! [83] 100.0% [7] 208(4.0%) 0(0.0%) ??? ...re-to-egg-herbie/src/core/taylor.rkt:301:23 for-loop [13] 100.0% ------------------------------------------------------------------------- matcher [72] 100.0% [8] 184(3.5%) 0(0.0%) ??? ...e-to-egg-herbie/src/core/matcher.rkt:130:11 for-loop [16] 66.7% foldl [15] 33.3% ------------------------------------------------------------------------- ??? [1] 100.0% [9] 5232(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [17] 100.0% ------------------------------------------------------------------------- approximate9 [3] 100.0% [10] 1060(20.3%) 0(0.0%) loop ...ore-to-egg-herbie/src/core/taylor.rkt:87:4 hash-ref! [83] 100.0% ------------------------------------------------------------------------- f41 [5] 100.0% [11] 816(15.6%) 196(3.7%) map ...t-7.5/collects/racket/private/map.rkt:35:13 parse-loop75 [18] 56.5% f41 [5] 19.5% ------------------------------------------------------------------------- ??? [6] 100.0% [12] 408(7.8%) 0(0.0%) for-loop ...-egg-herbie/src/core/taylor.rkt:291:52 hash-ref! [83] 100.0% ------------------------------------------------------------------------- ??? [7] 100.0% [13] 208(4.0%) 0(0.0%) for-loop ...-egg-herbie/src/core/taylor.rkt:304:27 hash-ref! [83] 100.0% ------------------------------------------------------------------------- ??? [4] 100.0% [14] 200(3.8%) 0(0.0%) ??? ...re-to-egg-herbie/src/core/taylor.rkt:294:19 hash-ref! [83] 100.0% ------------------------------------------------------------------------- ??? [8] 100.0% [15] 184(3.5%) 0(0.0%) foldl ....5/collects/racket/private/list.rkt:229:4 ??? [19] 100.0% ------------------------------------------------------------------------- ??? [8] 100.0% [16] 184(3.5%) 0(0.0%) for-loop ...egg-herbie/src/core/matcher.rkt:132:15 matcher [72] 100.0% ------------------------------------------------------------------------- profile-thunk16 [9] 100.0% [17] 5232(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [20] 100.0% ------------------------------------------------------------------------- map [11] 100.0% [18] 620(11.9%) 0(0.0%) parse-loop75 (unknown source) eval-const-expr [21] 100.0% ------------------------------------------------------------------------- foldl [15] 100.0% [19] 184(3.5%) 0(0.0%) ??? ...ore-to-egg-herbie/src/core/matcher.rkt:26:7 core457 [22] 100.0% ------------------------------------------------------------------------- for-loop [70] 8.3% run [17] 91.7% [20] 5232(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [23] 36.1% prepare-points-intervals [24] 31.3% eval-errors [25] 10.7% ??? [74] 8.3% errors [66] 5.3% get-final-combination [26] 4.7% oracle-error [29] 3.7% ------------------------------------------------------------------------- parse-loop75 [18] 100.0% [21] 620(11.9%) 0(0.0%) eval-const-expr ...g-herbie/src/programs.rkt:118:0 temp85_0 [27] 34.2% loop [75] 33.5% eval-one-top12 [28] 32.3% ------------------------------------------------------------------------- ??? [19] 100.0% [22] 184(3.5%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 un-dep/maybe-chaperone [30] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [20] 100.0% [23] 1968(37.6%) 0(0.0%) run-improve47 ...egg-herbie/src/mainloop.rkt:346:0 for-loop [31] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [20] 100.0% [24] 1636(31.3%) 0(0.0%) prepare-points-intervals ...e/src/points.rkt:110:0 loop [32] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [20] 100.0% [25] 558(10.7%) 0(0.0%) eval-errors ...-to-egg-herbie/src/points.rkt:179:0 for-loop [33] 100.0% ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [20] 100.0% [26] 322(6.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:371:0 infer-splitpoints [34] 100.0% ------------------------------------------------------------------------- eval-const-expr [21] 100.0% [27] 212(4.1%) 0(0.0%) temp85_0 (unknown source) compile15 [35] 100.0% ------------------------------------------------------------------------- eval-const-expr [21] 100.0% [28] 200(3.8%) 200(3.8%) eval-one-top12 (unknown source) ------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [20] 100.0% [29] 196(3.7%) 0(0.0%) oracle-error ...to-egg-herbie/src/points.rkt:188:0 for-loop [36] 100.0% ------------------------------------------------------------------------- core457 [22] 100.0% [30] 184(3.5%) 0(0.0%) un-dep/maybe-chaperone ...private/arr-i.rkt:1137:2 get/build-late-neg-projection [37]100.0% ------------------------------------------------------------------------- run-improve47 [23] 100.0% [31] 1968(37.6%) 0(0.0%) for-loop ...e-to-egg-herbie/src/mainloop.rkt:365:4 run-iter! [38] 100.0% ------------------------------------------------------------------------- prepare-points-intervals [24] 100.0% [32] 1636(31.3%) 0(0.0%) loop ...ve-more-to-egg-herbie/src/points.rkt:123:4 loop [39] 51.0% ??? [40] 49.0% ------------------------------------------------------------------------- eval-errors [25] 100.0% [33] 558(10.7%) 0(0.0%) for-loop ...ore-to-egg-herbie/src/points.rkt:181:2 ??? [77] 100.0% ------------------------------------------------------------------------- get-final-combination [26] 100.0% [34] 322(6.2%) 0(0.0%) infer-splitpoints ...bie/src/core/regimes.rkt:34:0 for-loop [41] 100.0% ------------------------------------------------------------------------- temp85_0 [27] 100.0% [35] 212(4.1%) 0(0.0%) compile15 (unknown source) temp91_0 [42] 100.0% ------------------------------------------------------------------------- oracle-error [29] 100.0% [36] 196(3.7%) 0(0.0%) for-loop ...ore-to-egg-herbie/src/points.rkt:189:2 loop [75] 100.0% ------------------------------------------------------------------------- un-dep/maybe-chaperone [30] 100.0% [37] 184(3.5%) 184(3.5%) get/build-late-neg-projection ...te/guts.rkt:827:0 ------------------------------------------------------------------------- for-loop [31] 100.0% [38] 1968(37.6%) 0(0.0%) run-iter! ...-to-egg-herbie/src/mainloop.rkt:327:0 gen-series! [43] 53.9% simplify! [44] 20.7% finalize-iter! [46] 16.1% gen-rewrites! [48] 9.3% ------------------------------------------------------------------------- loop [32] 100.0% [39] 834(15.9%) 0(0.0%) loop ...ove-more-to-egg-herbie/src/points.rkt:81:2 ??? [74] 100.0% ------------------------------------------------------------------------- loop [32] 100.0% [40] 802(15.3%) 0(0.0%) ??? ...ove-more-to-egg-herbie/src/points.rkt:106:2 ??? [77] 42.1% loop [75] 38.7% do-curry [49] 19.2% ------------------------------------------------------------------------- infer-splitpoints [34] 100.0% [41] 322(6.2%) 0(0.0%) for-loop ...o-egg-herbie/src/core/regimes.rkt:47:6 option-on-expr [45] 100.0% ------------------------------------------------------------------------- compile15 [35] 100.0% [42] 212(4.1%) 0(0.0%) temp91_0 (unknown source) temp118_0 [47] 100.0% ------------------------------------------------------------------------- run-iter! [38] 100.0% [43] 1060(20.3%) 0(0.0%) gen-series! ...o-egg-herbie/src/mainloop.rkt:160:0 for-loop [50] 100.0% ------------------------------------------------------------------------- run-iter! [38] 100.0% [44] 408(7.8%) 0(0.0%) simplify! ...-to-egg-herbie/src/mainloop.rkt:224:0 ??? [51] 100.0% ------------------------------------------------------------------------- for-loop [41] 100.0% [45] 322(6.2%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:126:0 sort-context-on-expr [54] 51.6% for-loop [55] 48.4% ------------------------------------------------------------------------- run-iter! [38] 100.0% [46] 316(6.0%) 0(0.0%) finalize-iter! ...gg-herbie/src/mainloop.rkt:278:0 ??? [52] 100.0% ------------------------------------------------------------------------- temp91_0 [42] 100.0% [47] 212(4.1%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [78] 100.0% ------------------------------------------------------------------------- run-iter! [38] 100.0% [48] 184(3.5%) 0(0.0%) gen-rewrites! ...egg-herbie/src/mainloop.rkt:183:0 for-loop [53] 100.0% ------------------------------------------------------------------------- ??? [40] 100.0% [49] 154(2.9%) 154(2.9%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ------------------------------------------------------------------------- gen-series! [43] 100.0% [50] 1060(20.3%) 0(0.0%) for-loop ...e-to-egg-herbie/src/mainloop.rkt:167:7 taylor-alt [56] 100.0% ------------------------------------------------------------------------- simplify! [44] 100.0% [51] 408(7.8%) 0(0.0%) ??? ...re-to-egg-herbie/src/core/simplify.rkt:44:0 egraph-run [57] 100.0% ------------------------------------------------------------------------- finalize-iter! [46] 100.0% [52] 316(6.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [58] 100.0% ------------------------------------------------------------------------- gen-rewrites! [48] 100.0% [53] 184(3.5%) 0(0.0%) for-loop ...-to-egg-herbie/src/mainloop.rkt:191:11 rewrite-expression-head20 [59] 100.0% ------------------------------------------------------------------------- option-on-expr [45] 100.0% [54] 166(3.2%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:119:0 ??? [60] 100.0% ------------------------------------------------------------------------- option-on-expr [45] 100.0% [55] 156(3.0%) 0(0.0%) for-loop ...-egg-herbie/src/core/regimes.rkt:136:4 errors [66] 100.0% ------------------------------------------------------------------------- for-loop [50] 100.0% [56] 1060(20.3%) 0(0.0%) taylor-alt ...to-egg-herbie/src/mainloop.rkt:146:0 for-loop [61] 100.0% ------------------------------------------------------------------------- ??? [51] 100.0% [57] 408(7.8%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [62] 100.0% ------------------------------------------------------------------------- ??? [52] 100.0% [58] 316(6.0%) 0(0.0%) for-loop ...egg-herbie/src/core/alt-table.rkt:55:2 atab-add-altn [65] 51.3% errors [66] 48.7% ------------------------------------------------------------------------- for-loop [53] 100.0% [59] 184(3.5%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [63] 100.0% ------------------------------------------------------------------------- sort-context-on-expr [54] 100.0% [60] 166(3.2%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [64] 100.0% ------------------------------------------------------------------------- taylor-alt [56] 100.0% [61] 1060(20.3%) 0(0.0%) for-loop ...e-to-egg-herbie/src/mainloop.rkt:152:6 ??? [77] 100.0% ------------------------------------------------------------------------- egraph-run [57] 100.0% [62] 408(7.8%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [67] 100.0% ------------------------------------------------------------------------- rewrite-expression-head20 [59] 33.3% matcher [72] 66.7% [63] 184(3.5%) 0(0.0%) rewriter ...o-egg-herbie/src/core/matcher.rkt:90:2 for-loop [68] 100.0% ------------------------------------------------------------------------- ??? [60] 100.0% [64] 166(3.2%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [69] 100.0% ------------------------------------------------------------------------- for-loop [58] 100.0% [65] 162(3.1%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:203:0 errors [66] 100.0% ------------------------------------------------------------------------- for-loop [58] 15.0% for-loop [55] 15.2% atab-add-altn [65] 15.8% .../more-scheme.rkt:261:28 [20] 53.9% [66] 1024(19.6%) 0(0.0%) errors ...-more-to-egg-herbie/src/points.rkt:201:0 for-loop [70] 100.0% ------------------------------------------------------------------------- egraph-add-exprs [62] 100.0% [67] 408(7.8%) 0(0.0%) ??? ...e-to-egg-herbie/src/core/simplify.rkt:103:6 for-loop [71] 100.0% ------------------------------------------------------------------------- rewriter [63] 100.0% [68] 184(3.5%) 0(0.0%) for-loop ...o-egg-herbie/src/core/matcher.rkt:92:4 matcher [72] 100.0% ------------------------------------------------------------------------- generic-sort/key [64] 33.3% copying-mergesort [69] 66.7% [69] 166(3.2%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [69] 66.7% loop [73] 33.3% ------------------------------------------------------------------------- errors [66] 100.0% [70] 1024(19.6%) 154(2.9%) for-loop ...ore-to-egg-herbie/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [20] 85.0% ------------------------------------------------------------------------- ??? [67] 100.0% [71] 408(7.8%) 408(7.8%) for-loop ...egg-herbie/src/core/simplify.rkt:122:2 ------------------------------------------------------------------------- for-loop [16] 40.0% for-loop [68] 60.0% [72] 184(3.5%) 0(0.0%) matcher ...o-egg-herbie/src/core/matcher.rkt:118:2 ??? [8] 60.0% rewriter [63] 40.0% ------------------------------------------------------------------------- copying-mergesort [69] 100.0% [73] 166(3.2%) 0(0.0%) loop ...7.5/collects/racket/private/sort.rkt:96:12 ??? [74] 100.0% ------------------------------------------------------------------------- loop [73] 8.0% ??? [81] 9.5% loop [39] 40.4% .../more-scheme.rkt:261:28 [20] 42.1% [74] 2066(39.5%) 166(3.2%) ??? ...e-more-to-egg-herbie/src/programs.rkt:115:2 loop [75] 35.5% ??? [77] 31.6% ??? [76] 24.9% ------------------------------------------------------------------------- for-loop [36] 11.8% eval-const-expr [21] 12.5% lambda-clause-expander [87] 12.8% ??? [40] 18.7% ??? [74] 44.2% [75] 1660(31.7%) 0(0.0%) loop (unknown source) ??? [77] 62.9% expand-id-application-form17 [79] 12.8% expand-capturing-lifts [78] 12.5% ??? [81] 11.8% ------------------------------------------------------------------------- ??? [74] 100.0% [76] 514(9.8%) 318(6.1%) ??? ...-to-egg-herbie/src/syntax/syntax.rkt:214:17 return/no-unsupplied [80] 38.1% ------------------------------------------------------------------------- ??? [40] 9.3% ??? [2] 9.7% location-do [82] 9.7% for-loop [61] 9.7% for-loop [33] 15.3% ??? [74] 17.9% loop [75] 28.6% [77] 3652(69.8%) 1110(21.2%) ??? ...tract/private/arrow-higher-order.rkt:375:33 mk-ival [84] 18.7% sample-multi-bounded [85] 17.7% location-do [82] 9.7% approximate9 [3] 9.7% hash-ref! [83] 9.7% ival-mult [88] 4.2% ------------------------------------------------------------------------- loop [75] 49.5% temp118_0 [47] 50.5% [78] 420(8.0%) 208(4.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [87] 50.5% ------------------------------------------------------------------------- loop [75] 100.0% [79] 212(4.1%) 0(0.0%) expand-id-application-form17 (unknown source) resolve+shift28 [86] 100.0% ------------------------------------------------------------------------- ??? [76] 100.0% [80] 196(3.7%) 196(3.7%) return/no-unsupplied ...ct/private/arr-i.rkt:566:0 ------------------------------------------------------------------------- loop [75] 100.0% [81] 196(3.7%) 0(0.0%) ??? ...ve-more-to-egg-herbie/src/points.rkt:190:26 ??? [74] 100.0% ------------------------------------------------------------------------- location-do [82] 32.6% ??? [77] 67.4% [82] 1060(20.3%) 0(0.0%) location-do ...to-egg-herbie/src/programs.rkt:64:0 ??? [77] 67.4% location-do [82] 32.6% ------------------------------------------------------------------------- ??? [14] 4.7% for-loop [12] 5.5% for-loop [13] 5.6% ??? [90] 8.3% ??? [4] 8.3% ??? [2] 18.5% ??? [77] 24.5% loop [10] 24.5% [83] 1060(20.3%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [2] 43.0% ??? [4] 13.0% f41 [5] 13.0% taylor [92] 11.5% ??? [90] 8.3% ??? [7] 5.6% ??? [6] 5.5% ------------------------------------------------------------------------- ??? [77] 100.0% [84] 682(13.0%) 0(0.0%) mk-ival ...-to-egg-herbie/src/biginterval.rkt:65:0 bf [89] 100.0% ------------------------------------------------------------------------- ??? [77] 100.0% [85] 648(12.4%) 0(0.0%) sample-multi-bounded ...herbie/src/points.rkt:15:0 random-ranges [91] 75.6% ??? [94] 24.4% ------------------------------------------------------------------------- expand-id-application-form17 [79] 100.0% [86] 212(4.1%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [93] 100.0% ------------------------------------------------------------------------- expand-capturing-lifts [78] 100.0% [87] 212(4.1%) 0(0.0%) lambda-clause-expander (unknown source) loop [75] 100.0% ------------------------------------------------------------------------- ??? [77] 100.0% [88] 152(2.9%) 152(2.9%) ival-mult ...-egg-herbie/src/biginterval.rkt:119:0 ------------------------------------------------------------------------- mk-ival [84] 100.0% [89] 682(13.0%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [95] 73.3% ??? [99] 26.7% ------------------------------------------------------------------------- hash-ref! [83] 100.0% [90] 616(11.8%) 0(0.0%) ??? ...re-to-egg-herbie/src/core/taylor.rkt:328:33 hash-ref! [83] 100.0% ------------------------------------------------------------------------- sample-multi-bounded [85] 100.0% [91] 490(9.4%) 152(2.9%) random-ranges ...o-egg-herbie/src/common.rkt:171:0 cons/c [98] 38.0% build--> [100] 31.0% ------------------------------------------------------------------------- hash-ref! [83] 100.0% [92] 244(4.7%) 0(0.0%) taylor ...-to-egg-herbie/src/core/taylor.rkt:170:0 debug-print [96] 100.0% ------------------------------------------------------------------------- resolve+shift28 [86] 100.0% [93] 212(4.1%) 0(0.0%) fallback-loop (unknown source) for-loop [97] 100.0% ------------------------------------------------------------------------- sample-multi-bounded [85] 100.0% [94] 158(3.0%) 158(3.0%) ??? ...ects/racket/contract/private/guts.rkt:770:8 ------------------------------------------------------------------------- bf [89] 100.0% [95] 500(9.6%) 500(9.6%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ------------------------------------------------------------------------- taylor [92] 100.0% [96] 244(4.7%) 0(0.0%) debug-print ...e-to-egg-herbie/src/debug.rkt:110:0 ??? [101] 100.0% ------------------------------------------------------------------------- fallback-loop [93] 100.0% [97] 212(4.1%) 212(4.1%) for-loop (unknown source) ------------------------------------------------------------------------- random-ranges [91] 100.0% [98] 186(3.6%) 186(3.6%) cons/c .../racket/contract/private/guts.rkt:500:15 ------------------------------------------------------------------------- bf [89] 100.0% [99] 182(3.5%) 182(3.5%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ------------------------------------------------------------------------- random-ranges [91] 100.0% [100] 152(2.9%) 152(2.9%) build--> ...act/private/arrow-val-first.rkt:1214:0 ------------------------------------------------------------------------- debug-print [96] 100.0% [101] 244(4.7%) 0(0.0%) ??? .../contract/private/arrow-val-first.rkt:555:3 ~r92 [102] 100.0% ------------------------------------------------------------------------- ??? [101] 100.0% [102] 244(4.7%) 244(4.7%) ~r92 ...acket-7.5/collects/racket/format.rkt:189:0 -------------------------------------------------------------------------