Profiling results ----------------- Total cpu time observed: 5366ms (out of 5556ms) Number of samples taken: 24 (once every 224ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== [1] 5366(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [9] 100.0% ---------------------------------------------------------------------- ??? [79] 100.0% [2] 1064(19.8%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [10] 81.0% for-loop [13] 19.0% ---------------------------------------------------------------------- map [19] 41.1% hash-ref! [85] 58.9% [3] 662(12.3%) 0(0.0%) parse-loop75 (unknown source) f62 [11] 58.9% eval-const-expr [16] 41.1% ---------------------------------------------------------------------- hash-ref! [85] 100.0% [4] 472(8.8%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 ??? [79] 100.0% ---------------------------------------------------------------------- hash-ref! [85] 100.0% [5] 472(8.8%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [12] 100.0% ---------------------------------------------------------------------- map [19] 50.0% hash-ref! [85] 50.0% [6] 272(5.1%) 0(0.0%) f41 (unknown source) map [19] 100.0% ---------------------------------------------------------------------- for-loop [81] 100.0% [7] 202(3.8%) 0(0.0%) expand-implicit (unknown source) resolve+shift28 [72] 100.0% ---------------------------------------------------------------------- hash-ref! [85] 100.0% [8] 200(3.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:301:23 for-loop [14] 100.0% ---------------------------------------------------------------------- ??? [1] 100.0% [9] 5366(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [15] 100.0% ---------------------------------------------------------------------- approximate9 [2] 100.0% [10] 862(16.1%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 hash-ref! [85] 54.8% ??? [79] 45.2% ---------------------------------------------------------------------- hash-ref! [85] 33.9% parse-loop75 [3] 66.1% [11] 590(11.0%) 0(0.0%) f62 (unknown source) eval-const-expr [16] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [12] 472(8.8%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 hash-ref! [85] 100.0% ---------------------------------------------------------------------- approximate9 [2] 100.0% [13] 202(3.8%) 0(0.0%) for-loop .../egg-cleanup/src/core/taylor.rkt:30:18 taylor [17] 100.0% ---------------------------------------------------------------------- ??? [8] 100.0% [14] 200(3.7%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:304:27 hash-ref! [85] 100.0% ---------------------------------------------------------------------- profile-thunk16 [9] 100.0% [15] 5366(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [18] 100.0% ---------------------------------------------------------------------- parse-loop75 [3] 31.6% f62 [11] 68.4% [16] 862(16.1%) 0(0.0%) eval-const-expr ...-cleanup/src/programs.rkt:118:0 temp85_0 [65] 100.0% ---------------------------------------------------------------------- map [19] 25.0% for-loop [13] 25.0% taylor [17] 50.0% [17] 202(3.8%) 202(3.8%) taylor ...ie/egg-cleanup/src/core/taylor.rkt:170:0 taylor [17] 50.0% map [19] 25.0% ---------------------------------------------------------------------- for-loop [62] 3.6% run [15] 96.4% [18] 5366(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [20] 57.1% prepare-points-intervals [21] 32.3% ??? [75] 3.6% oracle-error [22] 3.5% eval-errors [23] 3.5% ---------------------------------------------------------------------- taylor [17] 42.6% f41 [6] 57.4% [19] 474(8.8%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 taylor [17] 42.6% f41 [6] 28.7% parse-loop75 [3] 28.7% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 100.0% [20] 3258(60.7%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [24] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 100.0% [21] 1734(32.3%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [25] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 100.0% [22] 188(3.5%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [26] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 100.0% [23] 186(3.5%) 0(0.0%) eval-errors ...ie/egg-cleanup/src/points.rkt:179:0 for-loop [27] 100.0% ---------------------------------------------------------------------- run-improve47 [20] 100.0% [24] 3258(60.7%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [28] 100.0% ---------------------------------------------------------------------- prepare-points-intervals [21] 100.0% [25] 1734(32.3%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 loop [29] 55.0% ??? [30] 45.0% ---------------------------------------------------------------------- oracle-error [22] 100.0% [26] 188(3.5%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 loop [73] 100.0% ---------------------------------------------------------------------- eval-errors [23] 100.0% [27] 186(3.5%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:181:2 ??? [75] 100.0% ---------------------------------------------------------------------- for-loop [24] 100.0% [28] 3258(60.7%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 simplify! [31] 36.9% gen-series! [32] 32.7% finalize-iter! [33] 18.5% gen-rewrites! [35] 6.1% choose-best-alt! [37] 5.8% ---------------------------------------------------------------------- loop [25] 100.0% [29] 954(17.8%) 200(3.7%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [75] 79.0% ---------------------------------------------------------------------- loop [25] 100.0% [30] 780(14.5%) 0(0.0%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [79] 49.0% compose [34] 26.2% do-curry [36] 24.9% ---------------------------------------------------------------------- run-iter! [28] 100.0% [31] 1202(22.4%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [38] 100.0% ---------------------------------------------------------------------- run-iter! [28] 100.0% [32] 1064(19.8%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [39] 100.0% ---------------------------------------------------------------------- run-iter! [28] 100.0% [33] 604(11.3%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [40] 100.0% ---------------------------------------------------------------------- ??? [30] 100.0% [34] 204(3.8%) 204(3.8%) compose ...collects/racket/private/list.rkt:385:12 ---------------------------------------------------------------------- run-iter! [28] 100.0% [35] 200(3.7%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [41] 100.0% ---------------------------------------------------------------------- ??? [30] 100.0% [36] 194(3.6%) 194(3.6%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ---------------------------------------------------------------------- run-iter! [28] 100.0% [37] 188(3.5%) 0(0.0%) choose-best-alt! ...cleanup/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [42] 100.0% ---------------------------------------------------------------------- simplify! [31] 100.0% [38] 1202(22.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [43] 100.0% ---------------------------------------------------------------------- gen-series! [32] 100.0% [39] 1064(19.8%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [44] 100.0% ---------------------------------------------------------------------- finalize-iter! [33] 100.0% [40] 604(11.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [45] 100.0% ---------------------------------------------------------------------- gen-rewrites! [35] 100.0% [41] 200(3.7%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:208:4 for-loop [46] 100.0% ---------------------------------------------------------------------- choose-best-alt! [37] 100.0% [42] 188(3.5%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [47] 100.0% ---------------------------------------------------------------------- ??? [38] 100.0% [43] 1202(22.4%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [48] 100.0% ---------------------------------------------------------------------- for-loop [39] 100.0% [44] 1064(19.8%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [49] 100.0% ---------------------------------------------------------------------- ??? [40] 100.0% [45] 604(11.3%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [50] 100.0% ---------------------------------------------------------------------- for-loop [41] 100.0% [46] 200(3.7%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:209:6 change-apply [51] 100.0% ---------------------------------------------------------------------- ...ow-val-first.rkt:486:18 [42] 100.0% [47] 188(3.5%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/alt-table.rkt:58:0 argmin [52] 100.0% ---------------------------------------------------------------------- egraph-run [43] 100.0% [48] 1202(22.4%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:113:0 ??? [53] 100.0% ---------------------------------------------------------------------- taylor-alt [44] 100.0% [49] 1064(19.8%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [79] 100.0% ---------------------------------------------------------------------- for-loop [45] 100.0% [50] 604(11.3%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [58] 66.6% override-at-pnts [54] 33.4% ---------------------------------------------------------------------- for-loop [46] 100.0% [51] 200(3.7%) 0(0.0%) change-apply ...-cleanup/src/core/matcher.rkt:70:0 pattern-substitute [55] 100.0% ---------------------------------------------------------------------- ??? [47] 100.0% [52] 188(3.5%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [56] 100.0% ---------------------------------------------------------------------- egraph-add-exprs [48] 100.0% [53] 1202(22.4%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [57] 76.0% egg-run-rules [59] 24.0% ---------------------------------------------------------------------- atab-add-altn [50] 100.0% [54] 202(3.8%) 0(0.0%) override-at-pnts ...p/src/core/alt-table.rkt:138:0 for-loop [60] 100.0% ---------------------------------------------------------------------- pattern-substitute [55] 50.0% change-apply [51] 50.0% [55] 200(3.7%) 0(0.0%) pattern-substitute ...up/src/core/matcher.rkt:46:0 pattern-substitute [55] 50.0% constant? [61] 50.0% ---------------------------------------------------------------------- argmin [52] 100.0% [56] 188(3.5%) 0(0.0%) ??? .../herbie/egg-cleanup/src/mainloop.rkt:114:10 errors [58] 100.0% ---------------------------------------------------------------------- ??? [53] 100.0% [57] 914(17.0%) 914(17.0%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 ---------------------------------------------------------------------- ??? [56] 31.9% atab-add-altn [50] 68.1% [58] 590(11.0%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 for-loop [62] 65.8% eval-prog [63] 34.2% ---------------------------------------------------------------------- ??? [53] 100.0% [59] 288(5.4%) 288(5.4%) egg-run-rules ...leanup/src/core/simplify.rkt:99:0 ---------------------------------------------------------------------- override-at-pnts [54] 100.0% [60] 202(3.8%) 202(3.8%) for-loop ...-cleanup/src/core/alt-table.rkt:139:22 ---------------------------------------------------------------------- pattern-substitute [55] 100.0% [61] 200(3.7%) 0(0.0%) constant? ...g-cleanup/src/syntax/syntax.rkt:726:0 value? [64] 100.0% ---------------------------------------------------------------------- errors [58] 100.0% [62] 388(7.2%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [18] 100.0% ---------------------------------------------------------------------- errors [58] 100.0% [63] 202(3.8%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [65] 100.0% ---------------------------------------------------------------------- constant? [61] 100.0% [64] 200(3.7%) 200(3.7%) value? ...ie/egg-cleanup/src/syntax/types.rkt:18:0 ---------------------------------------------------------------------- eval-prog [63] 19.0% eval-const-expr [16] 81.0% [65] 1064(19.8%) 0(0.0%) temp85_0 (unknown source) compile15 [66] 100.0% ---------------------------------------------------------------------- temp85_0 [65] 100.0% [66] 1064(19.8%) 0(0.0%) compile15 (unknown source) temp91_0 [67] 100.0% ---------------------------------------------------------------------- compile15 [66] 100.0% [67] 1064(19.8%) 0(0.0%) temp91_0 (unknown source) temp118_0 [68] 100.0% ---------------------------------------------------------------------- temp91_0 [67] 100.0% [68] 1064(19.8%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [69] 100.0% ---------------------------------------------------------------------- temp118_0 [68] 100.0% [69] 1064(19.8%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [70] 63.3% expand-id-application-form17 [71] 36.7% ---------------------------------------------------------------------- expand-capturing-lifts [69] 100.0% [70] 674(12.6%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [74] 59.6% loop [73] 40.4% ---------------------------------------------------------------------- expand-capturing-lifts [69] 100.0% [71] 390(7.3%) 0(0.0%) expand-id-application-form17 (unknown source) resolve+shift28 [72] 100.0% ---------------------------------------------------------------------- expand-implicit [7] 34.1% expand-id-application-form17 [71] 65.9% [72] 592(11.0%) 0(0.0%) resolve+shift28 (unknown source) apply-syntax-shifts [76] 65.9% fallback-loop [78] 34.1% ---------------------------------------------------------------------- for-loop [26] 40.9% lambda-clause-expander [70] 59.1% [73] 460(8.6%) 0(0.0%) loop (unknown source) dispatch-transformer41 [77] 59.1% ??? [75] 40.9% ---------------------------------------------------------------------- lambda-clause-expander [70] 22.5% for-loop [81] 77.5% [74] 402(7.5%) 0(0.0%) finish-bodys (unknown source) for-loop [81] 100.0% ---------------------------------------------------------------------- for-loop [27] 12.3% loop [73] 12.4% .../more-scheme.rkt:261:28 [18] 25.6% loop [29] 49.7% [75] 1516(28.3%) 198(3.7%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [80] 50.3% ??? [79] 24.5% ??? [83] 12.1% ---------------------------------------------------------------------- resolve+shift28 [72] 100.0% [76] 390(7.3%) 390(7.3%) apply-syntax-shifts (unknown source) ---------------------------------------------------------------------- loop [73] 100.0% [77] 272(5.1%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [82] 100.0% ---------------------------------------------------------------------- resolve+shift28 [72] 100.0% [78] 202(3.8%) 0(0.0%) fallback-loop (unknown source) for-loop [81] 100.0% ---------------------------------------------------------------------- loop [10] 7.2% ??? [4] 8.7% ??? [75] 20.5% ??? [30] 21.0% location-do [84] 21.4% for-loop [49] 21.4% [79] 1818(33.9%) 370(6.9%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [84] 21.4% approximate9 [2] 21.4% hash-ref! [85] 15.8% sample-multi-bounded [88] 10.9% ival-mult [89] 10.2% ---------------------------------------------------------------------- ??? [75] 100.0% [80] 762(14.2%) 562(10.5%) ??? ...ie/egg-cleanup/src/syntax/syntax.rkt:214:17 list-member? [86] 26.2% ---------------------------------------------------------------------- fallback-loop [78] 7.2% for-loop [81] 28.6% finish-bodys [74] 64.3% [81] 402(7.5%) 202(3.8%) for-loop (unknown source) finish-bodys [74] 50.0% for-loop [81] 28.6% expand-implicit [7] 7.2% add-local-binding!39 [87] 7.1% ---------------------------------------------------------------------- dispatch-transformer41 [77] 100.0% [82] 272(5.1%) 272(5.1%) apply-transformer52 (unknown source) ---------------------------------------------------------------------- ??? [75] 100.0% [83] 184(3.4%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-add [90] 100.0% ---------------------------------------------------------------------- location-do [84] 43.3% ??? [79] 56.7% [84] 1064(19.8%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 ??? [79] 56.7% location-do [84] 43.3% ---------------------------------------------------------------------- for-loop [14] 3.9% ??? [94] 3.9% for-loop [12] 11.8% loop [10] 11.8% ??? [91] 34.4% ??? [79] 34.4% [85] 862(16.1%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [91] 34.4% parse-loop75 [3] 22.6% ??? [4] 11.8% ??? [5] 11.8% f41 [6] 7.9% ??? [94] 3.9% ??? [8] 3.9% f62 [11] 3.9% ---------------------------------------------------------------------- ??? [80] 100.0% [86] 200(3.7%) 200(3.7%) list-member? ...llects/racket/private/set.rkt:24:0 ---------------------------------------------------------------------- for-loop [81] 100.0% [87] 200(3.7%) 0(0.0%) add-local-binding!39 (unknown source) binding-table-add [93] 100.0% ---------------------------------------------------------------------- ??? [79] 100.0% [88] 198(3.7%) 198(3.7%) sample-multi-bounded ...leanup/src/points.rkt:15:0 ---------------------------------------------------------------------- ??? [79] 100.0% [89] 186(3.5%) 0(0.0%) ival-mult ...egg-cleanup/src/biginterval.rkt:119:0 bfadd [92] 100.0% ---------------------------------------------------------------------- ??? [83] 100.0% [90] 184(3.4%) 0(0.0%) ival-add .../egg-cleanup/src/biginterval.rkt:101:0 bfadd [92] 100.0% ---------------------------------------------------------------------- hash-ref! [85] 100.0% [91] 862(16.1%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [85] 100.0% ---------------------------------------------------------------------- ival-add [90] 49.7% ival-mult [89] 50.3% [92] 370(6.9%) 0(0.0%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [95] 100.0% ---------------------------------------------------------------------- add-local-binding!39 [87] 100.0% [93] 200(3.7%) 200(3.7%) binding-table-add (unknown source) ---------------------------------------------------------------------- hash-ref! [85] 100.0% [94] 200(3.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:363:30 hash-ref! [85] 100.0% ---------------------------------------------------------------------- bfadd [92] 100.0% [95] 370(6.9%) 370(6.9%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ----------------------------------------------------------------------