Profiling results ----------------- Total cpu time observed: 6810ms (out of 7016ms) Number of samples taken: 29 (once every 235ms) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== [1] 6810(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [8] 100.0% ------------------------------------------------------------------------ ??? [88] 100.0% [2] 1534(22.5%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [9] 51.5% for-loop [10] 26.6% taylor [18] 21.9% ------------------------------------------------------------------------ hash-ref! [94] 100.0% [3] 790(11.6%) 0(0.0%) parse-loop75 (unknown source) eval-const-expr [17] 51.4% f62 [13] 48.6% ------------------------------------------------------------------------ for-loop [77] 100.0% [4] 406(6.0%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [11] 100.0% ------------------------------------------------------------------------ matcher [61] 100.0% [5] 400(5.9%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [12] 100.0% ------------------------------------------------------------------------ hash-ref! [94] 100.0% [6] 206(3.0%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [15] 100.0% ------------------------------------------------------------------------ hash-ref! [94] 100.0% [7] 206(3.0%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:301:23 for-loop [14] 100.0% ------------------------------------------------------------------------ ??? [1] 100.0% [8] 6810(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [16] 100.0% ------------------------------------------------------------------------ approximate9 [2] 100.0% [9] 790(11.6%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 ??? [88] 100.0% ------------------------------------------------------------------------ approximate9 [2] 100.0% [10] 408(6.0%) 0(0.0%) for-loop .../egg-cleanup/src/core/taylor.rkt:30:18 taylor [18] 100.0% ------------------------------------------------------------------------ syntax-e [4] 100.0% [11] 406(6.0%) 0(0.0%) syntax-e/no-taint (unknown source) loop [84] 100.0% ------------------------------------------------------------------------ ??? [5] 100.0% [12] 400(5.9%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [61] 100.0% ------------------------------------------------------------------------ parse-loop75 [3] 100.0% [13] 384(5.6%) 0(0.0%) f62 (unknown source) eval-const-expr [17] 100.0% ------------------------------------------------------------------------ ??? [7] 100.0% [14] 206(3.0%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:304:27 hash-ref! [94] 100.0% ------------------------------------------------------------------------ ??? [6] 100.0% [15] 206(3.0%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 hash-ref! [94] 100.0% ------------------------------------------------------------------------ profile-thunk16 [8] 100.0% [16] 6810(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [19] 100.0% ------------------------------------------------------------------------ f62 [13] 48.6% parse-loop75 [3] 51.4% [17] 790(11.6%) 0(0.0%) eval-const-expr ...-cleanup/src/programs.rkt:118:0 temp85_0 [66] 100.0% ------------------------------------------------------------------------ taylor [18] 11.3% approximate9 [2] 11.3% for-loop [10] 27.4% map [20] 50.0% [18] 744(10.9%) 0(0.0%) taylor ...ie/egg-cleanup/src/core/taylor.rkt:170:0 map [20] 50.0% debug5 [21] 27.4% taylor [18] 11.3% debug-print [22] 11.3% ------------------------------------------------------------------------ for-loop [63] 7.4% run [16] 92.6% [19] 6810(100.0%) 200(2.9%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [23] 61.6% prepare-points-intervals [24] 20.7% ??? [86] 5.9% oracle-error [25] 5.8% eval-errors [27] 2.9% errors [59] 1.5% ------------------------------------------------------------------------ taylor [18] 100.0% [20] 744(10.9%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 taylor [18] 100.0% ------------------------------------------------------------------------ taylor [18] 100.0% [21] 408(6.0%) 408(6.0%) debug5 ...s/herbie/egg-cleanup/src/debug.rkt:102:0 ------------------------------------------------------------------------ taylor [18] 100.0% [22] 336(4.9%) 0(0.0%) debug-print ...bie/egg-cleanup/src/debug.rkt:110:0 ??? [26] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [23] 4600(67.5%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [28] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [24] 1412(20.7%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [29] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [25] 398(5.8%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [30] 100.0% ------------------------------------------------------------------------ debug-print [22] 100.0% [26] 336(4.9%) 336(4.9%) ??? .../contract/private/arrow-val-first.rkt:555:3 ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [27] 200(2.9%) 0(0.0%) eval-errors ...ie/egg-cleanup/src/points.rkt:179:0 for-loop [31] 100.0% ------------------------------------------------------------------------ run-improve47 [23] 100.0% [28] 4600(67.5%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [32] 100.0% ------------------------------------------------------------------------ prepare-points-intervals [24] 100.0% [29] 1412(20.7%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 loop [33] 71.7% ??? [34] 28.3% ------------------------------------------------------------------------ oracle-error [25] 100.0% [30] 398(5.8%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 loop [84] 100.0% ------------------------------------------------------------------------ eval-errors [27] 100.0% [31] 200(2.9%) 200(2.9%) for-loop ...erbie/egg-cleanup/src/points.rkt:181:2 ------------------------------------------------------------------------ for-loop [28] 100.0% [32] 4600(67.5%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 gen-series! [35] 33.3% simplify! [36] 27.3% finalize-iter! [37] 26.3% gen-rewrites! [38] 8.7% choose-best-alt! [39] 4.3% ------------------------------------------------------------------------ loop [29] 100.0% [33] 1012(14.9%) 200(2.9%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [86] 80.2% ------------------------------------------------------------------------ loop [29] 100.0% [34] 400(5.9%) 0(0.0%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [88] 100.0% ------------------------------------------------------------------------ run-iter! [32] 100.0% [35] 1534(22.5%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [40] 100.0% ------------------------------------------------------------------------ run-iter! [32] 100.0% [36] 1254(18.4%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [41] 100.0% ------------------------------------------------------------------------ run-iter! [32] 100.0% [37] 1212(17.8%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [42] 100.0% ------------------------------------------------------------------------ run-iter! [32] 100.0% [38] 400(5.9%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [43] 100.0% ------------------------------------------------------------------------ run-iter! [32] 100.0% [39] 200(2.9%) 0(0.0%) choose-best-alt! ...cleanup/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [44] 100.0% ------------------------------------------------------------------------ gen-series! [35] 100.0% [40] 1534(22.5%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [45] 100.0% ------------------------------------------------------------------------ simplify! [36] 100.0% [41] 1254(18.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [46] 100.0% ------------------------------------------------------------------------ finalize-iter! [37] 100.0% [42] 1212(17.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [47] 100.0% ------------------------------------------------------------------------ gen-rewrites! [38] 100.0% [43] 400(5.9%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [48] 100.0% ------------------------------------------------------------------------ choose-best-alt! [39] 100.0% [44] 200(2.9%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [49] 100.0% ------------------------------------------------------------------------ for-loop [40] 100.0% [45] 1534(22.5%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [50] 100.0% ------------------------------------------------------------------------ ??? [41] 100.0% [46] 1254(18.4%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [51] 100.0% ------------------------------------------------------------------------ ??? [42] 100.0% [47] 1212(17.8%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [52] 83.5% errors [59] 16.5% ------------------------------------------------------------------------ for-loop [43] 100.0% [48] 400(5.9%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [53] 100.0% ------------------------------------------------------------------------ ...ow-val-first.rkt:486:18 [44] 100.0% [49] 200(2.9%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/alt-table.rkt:58:0 argmin [54] 100.0% ------------------------------------------------------------------------ taylor-alt [45] 100.0% [50] 1534(22.5%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [88] 100.0% ------------------------------------------------------------------------ egraph-run [46] 100.0% [51] 1254(18.4%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:113:0 ??? [55] 100.0% ------------------------------------------------------------------------ for-loop [47] 100.0% [52] 1012(14.9%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [59] 100.0% ------------------------------------------------------------------------ matcher [61] 50.0% rewrite-expression-head20 [48] 50.0% [53] 400(5.9%) 0(0.0%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [56] 75.0% *rules* [57] 25.0% ------------------------------------------------------------------------ ??? [49] 100.0% [54] 200(2.9%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [58] 100.0% ------------------------------------------------------------------------ egraph-add-exprs [51] 100.0% [55] 1254(18.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [60] 83.6% egg-run-rules [62] 16.4% ------------------------------------------------------------------------ rewriter [53] 100.0% [56] 400(5.9%) 200(2.9%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [61] 75.0% ------------------------------------------------------------------------ rewriter [53] 100.0% [57] 200(2.9%) 0(0.0%) *rules* .../egg-cleanup/src/syntax/rules.rkt:666:0 for-loop [77] 100.0% ------------------------------------------------------------------------ argmin [54] 100.0% [58] 200(2.9%) 0(0.0%) ??? .../herbie/egg-cleanup/src/mainloop.rkt:114:10 errors [59] 100.0% ------------------------------------------------------------------------ for-loop [47] 12.4% ??? [58] 12.4% .../more-scheme.rkt:261:28 [19] 12.4% atab-add-altn [52] 62.8% [59] 1612(23.7%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 for-loop [63] 74.8% eval-prog [64] 25.2% ------------------------------------------------------------------------ ??? [55] 100.0% [60] 1048(15.4%) 1048(15.4%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 ------------------------------------------------------------------------ for-loop [12] 50.0% for-loop [56] 50.0% [61] 400(5.9%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [5] 50.0% rewriter [53] 50.0% ------------------------------------------------------------------------ ??? [55] 100.0% [62] 206(3.0%) 0(0.0%) egg-run-rules ...leanup/src/core/simplify.rkt:99:0 make-ffi-rules [65] 100.0% ------------------------------------------------------------------------ errors [59] 100.0% [63] 1206(17.7%) 202(3.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [19] 83.3% ------------------------------------------------------------------------ errors [59] 100.0% [64] 406(6.0%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [66] 100.0% ------------------------------------------------------------------------ egg-run-rules [62] 100.0% [65] 206(3.0%) 0(0.0%) make-ffi-rules ...leanup/src/core/eggmath.rkt:30:0 for-loop [67] 100.0% ------------------------------------------------------------------------ eval-prog [64] 33.9% eval-const-expr [17] 66.1% [66] 1196(17.6%) 0(0.0%) temp85_0 (unknown source) compile15 [68] 100.0% ------------------------------------------------------------------------ make-ffi-rules [65] 100.0% [67] 206(3.0%) 0(0.0%) for-loop .../egg-cleanup/src/core/eggmath.rkt:31:2 herbie-pattern->rust-pattern [69]100.0% ------------------------------------------------------------------------ temp85_0 [66] 100.0% [68] 1196(17.6%) 0(0.0%) compile15 (unknown source) temp91_0 [70] 100.0% ------------------------------------------------------------------------ for-loop [67] 100.0% [69] 206(3.0%) 206(3.0%) herbie-pattern->rust-pattern ...g-pattern.rkt:17:0 ------------------------------------------------------------------------ compile15 [68] 100.0% [70] 1196(17.6%) 0(0.0%) temp91_0 (unknown source) temp118_0 [71] 100.0% ------------------------------------------------------------------------ temp91_0 [70] 100.0% [71] 1196(17.6%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [72] 100.0% ------------------------------------------------------------------------ temp118_0 [71] 100.0% [72] 1196(17.6%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [73] 67.9% dispatch-transformer41 [74] 32.1% ------------------------------------------------------------------------ expand-capturing-lifts [72] 100.0% [73] 812(11.9%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [75] 100.0% ------------------------------------------------------------------------ for-loop [77] 34.9% expand-capturing-lifts [72] 65.1% [74] 590(8.7%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [76] 100.0% ------------------------------------------------------------------------ lambda-clause-expander [73] 19.9% for-loop [77] 80.1% [75] 812(11.9%) 0(0.0%) finish-bodys (unknown source) for-loop [77] 100.0% ------------------------------------------------------------------------ dispatch-transformer41 [74] 100.0% [76] 590(8.7%) 384(5.6%) apply-transformer52 (unknown source) apply-transformer-in-context [78] 34.9% ------------------------------------------------------------------------ for-loop [77] 13.2% *rules* [57] 19.8% finish-bodys [75] 67.0% [77] 1012(14.9%) 0(0.0%) for-loop (unknown source) finish-bodys [75] 53.8% do-curry [80] 19.8% for-loop [77] 13.2% syntax-e [4] 5.9% dispatch-transformer41 [74] 4.1% expand-implicit [81] 3.3% ------------------------------------------------------------------------ apply-transformer52 [76] 100.0% [78] 206(3.0%) 0(0.0%) apply-transformer-in-context (unknown source) parse-app [79] 100.0% ------------------------------------------------------------------------ apply-transformer-in-context [78]100.0% [79] 206(3.0%) 0(0.0%) parse-app ...collects/racket/private/kw.rkt:1142:2 syntax->list [82] 100.0% ------------------------------------------------------------------------ for-loop [77] 100.0% [80] 200(2.9%) 200(2.9%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ------------------------------------------------------------------------ for-loop [77] 100.0% [81] 200(2.9%) 0(0.0%) expand-implicit (unknown source) datum->syntax6 [83] 100.0% ------------------------------------------------------------------------ parse-app [79] 100.0% [82] 206(3.0%) 0(0.0%) syntax->list (unknown source) loop [84] 100.0% ------------------------------------------------------------------------ expand-implicit [81] 100.0% [83] 200(2.9%) 0(0.0%) datum->syntax6 (unknown source) f [85] 100.0% ------------------------------------------------------------------------ syntax->list [82] 20.4% for-loop [30] 39.4% syntax-e/no-taint [11] 40.2% [84] 1010(14.8%) 406(6.0%) loop (unknown source) ??? [86] 39.4% gf [87] 20.4% ------------------------------------------------------------------------ datum->syntax6 [83] 100.0% [85] 200(2.9%) 200(2.9%) f (unknown source) ------------------------------------------------------------------------ loop [84] 19.8% .../more-scheme.rkt:261:28 [19] 39.9% loop [33] 40.3% [86] 2014(29.6%) 0(0.0%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [89] 50.0% ??? [90] 20.3% ??? [88] 20.1% ??? [92] 9.7% ------------------------------------------------------------------------ loop [84] 100.0% [87] 206(3.0%) 0(0.0%) gf (unknown source) propagation-apply-shifted [91] 100.0% ------------------------------------------------------------------------ loop [9] 11.3% ??? [34] 17.1% ??? [86] 17.3% location-do [93] 27.2% for-loop [50] 27.2% [88] 2338(34.3%) 204(3.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [93] 27.2% approximate9 [2] 27.2% sample-multi-bounded [95] 17.1% hash-ref! [94] 11.3% ival-mult [97] 8.6% ------------------------------------------------------------------------ ??? [86] 100.0% [89] 1006(14.8%) 1006(14.8%) ??? ...ie/egg-cleanup/src/syntax/syntax.rkt:214:17 ------------------------------------------------------------------------ ??? [86] 100.0% [90] 408(6.0%) 206(3.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sub [96] 49.5% ------------------------------------------------------------------------ gf [87] 100.0% [91] 206(3.0%) 206(3.0%) propagation-apply-shifted (unknown source) ------------------------------------------------------------------------ ??? [86] 100.0% [92] 196(2.9%) 196(2.9%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 ------------------------------------------------------------------------ location-do [93] 15.4% ??? [88] 84.6% [93] 1534(22.5%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 ??? [88] 84.6% location-do [93] 15.4% ------------------------------------------------------------------------ for-loop [15] 5.2% ??? [100] 5.2% for-loop [14] 5.2% ??? [98] 42.2% ??? [88] 42.2% [94] 790(11.6%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [98] 42.2% parse-loop75 [3] 42.2% ??? [7] 5.2% ??? [100] 5.2% ??? [6] 5.2% ------------------------------------------------------------------------ ??? [88] 100.0% [95] 400(5.9%) 200(2.9%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [101] 50.0% ------------------------------------------------------------------------ ??? [90] 100.0% [96] 202(3.0%) 0(0.0%) ival-sub .../egg-cleanup/src/biginterval.rkt:107:0 bfsub [99] 100.0% ------------------------------------------------------------------------ ??? [88] 100.0% [97] 200(2.9%) 0(0.0%) ival-mult ...egg-cleanup/src/biginterval.rkt:119:0 bfsub [99] 100.0% ------------------------------------------------------------------------ hash-ref! [94] 100.0% [98] 790(11.6%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [94] 100.0% ------------------------------------------------------------------------ ival-mult [97] 49.8% ival-sub [96] 50.2% [99] 402(5.9%) 0(0.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [102] 50.2% new-mpfr [103] 49.8% ------------------------------------------------------------------------ hash-ref! [94] 100.0% [100] 206(3.0%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:344:33 hash-ref! [94] 100.0% ------------------------------------------------------------------------ sample-multi-bounded [95] 100.0% [101] 200(2.9%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 build--> [104] 100.0% ------------------------------------------------------------------------ bfsub [99] 100.0% [102] 202(3.0%) 202(3.0%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ------------------------------------------------------------------------ bfsub [99] 100.0% [103] 200(2.9%) 200(2.9%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ------------------------------------------------------------------------ random-ranges [101] 100.0% [104] 200(2.9%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [105] 100.0% ------------------------------------------------------------------------ build--> [104] 100.0% [105] 200(2.9%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [106] 100.0% ------------------------------------------------------------------------ coerce-contract [105] 100.0% [106] 200(2.9%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [107] 100.0% ------------------------------------------------------------------------ coerce-contract/f [106] 100.0% [107] 200(2.9%) 200(2.9%) coerce-simple-value ...ract/private/guts.rkt:385:0 ------------------------------------------------------------------------