Profiling results ----------------- Total cpu time observed: 2828ms (out of 2860ms) Number of samples taken: 16 (once every 177ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 2828(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [8] 100.0% -------------------------------------------------------------------- hash-ref! [65] 100.0% [2] 168(5.9%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 hash-ref! [65] 50.0% ??? [55] 50.0% -------------------------------------------------------------------- ??? [55] 100.0% [3] 168(5.9%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [9] 100.0% -------------------------------------------------------------------- hash-ref! [65] 100.0% [4] 168(5.9%) 0(0.0%) f62 (unknown source) eval-const-expr [12] 100.0% -------------------------------------------------------------------- hash-ref! [65] 100.0% [5] 168(5.9%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:301:23 for-loop [11] 100.0% -------------------------------------------------------------------- hash-ref! [65] 100.0% [6] 168(5.9%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:291:26 for-loop [10] 100.0% -------------------------------------------------------------------- matcher [68] 100.0% [7] 156(5.5%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [13] 100.0% -------------------------------------------------------------------- ??? [1] 100.0% [8] 2828(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [14] 100.0% -------------------------------------------------------------------- approximate9 [3] 100.0% [9] 168(5.9%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 hash-ref! [65] 100.0% -------------------------------------------------------------------- ??? [6] 100.0% [10] 168(5.9%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:291:52 ??? [15] 100.0% -------------------------------------------------------------------- ??? [5] 100.0% [11] 168(5.9%) 0(0.0%) for-loop ...egg-cleanup/src/core/taylor.rkt:304:27 hash-ref! [65] 100.0% -------------------------------------------------------------------- f62 [4] 100.0% [12] 168(5.9%) 0(0.0%) eval-const-expr ...-cleanup/src/programs.rkt:118:0 loop [27] 100.0% -------------------------------------------------------------------- ??? [7] 100.0% [13] 156(5.5%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [68] 100.0% -------------------------------------------------------------------- profile-thunk16 [8] 100.0% [14] 2828(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [16]100.0% -------------------------------------------------------------------- for-loop [10] 100.0% [15] 168(5.9%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/taylor.rkt:294:19 hash-ref! [65] 100.0% -------------------------------------------------------------------- for-loop [61] 6.3% run [14] 93.7% [16] 2828(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [17] 57.4% run-improve47 [18] 25.4% oracle-error [19] 7.4% errors [56] 3.5% ulp-difference [20] 3.5% ??? [55] 2.7% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [16]100.0% [17] 1624(57.4%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [21] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [16]100.0% [18] 796(28.1%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [22] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [16]100.0% [19] 208(7.4%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [23] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [16]100.0% [20] 200(7.1%) 200(7.1%) ulp-difference ...e/egg-cleanup/src/float.rkt:20:0 -------------------------------------------------------------------- prepare-points-intervals [17] 100.0% [21] 1624(57.4%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 loop [25] 45.8% ??? [26] 43.0% do-curry [28] 11.2% -------------------------------------------------------------------- run-improve47 [18] 100.0% [22] 796(28.1%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [24] 100.0% -------------------------------------------------------------------- oracle-error [19] 100.0% [23] 208(7.4%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 loop [27] 100.0% -------------------------------------------------------------------- for-loop [22] 100.0% [24] 796(28.1%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 finalize-iter! [30] 39.2% gen-series! [33] 21.1% simplify! [34] 20.1% gen-rewrites! [35] 19.6% -------------------------------------------------------------------- loop [21] 100.0% [25] 744(26.3%) 0(0.0%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [29] 100.0% -------------------------------------------------------------------- loop [21] 100.0% [26] 698(24.7%) 0(0.0%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [55] 100.0% -------------------------------------------------------------------- apply-transformer52 [45] 22.3% eval-const-expr [12] 22.3% for-loop [23] 55.3% [27] 376(13.3%) 0(0.0%) loop (unknown source) ??? [29] 55.3% expand-capturing-lifts [32] 22.3% core-form-sym [31] 22.3% -------------------------------------------------------------------- loop [21] 100.0% [28] 182(6.4%) 182(6.4%) do-curry ...-7.5/collects/racket/function.rkt:71:2 -------------------------------------------------------------------- loop [27] 21.8% loop [25] 78.2% [29] 952(33.7%) 208(7.4%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [55] 42.9% ??? [36] 35.3% -------------------------------------------------------------------- run-iter! [24] 100.0% [30] 312(11.0%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [37] 100.0% -------------------------------------------------------------------- loop [27] 100.0% [31] 168(5.9%) 0(0.0%) core-form-sym (unknown source) resolve+shift28 [38] 100.0% -------------------------------------------------------------------- loop [27] 100.0% [32] 168(5.9%) 0(0.0%) expand-capturing-lifts (unknown source) dispatch-transformer41 [39] 100.0% -------------------------------------------------------------------- run-iter! [24] 100.0% [33] 168(5.9%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [40] 100.0% -------------------------------------------------------------------- run-iter! [24] 100.0% [34] 160(5.7%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [41] 100.0% -------------------------------------------------------------------- run-iter! [24] 100.0% [35] 156(5.5%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [42] 100.0% -------------------------------------------------------------------- ??? [29] 100.0% [36] 336(11.9%) 186(6.6%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-div [49] 44.6% -------------------------------------------------------------------- finalize-iter! [30] 100.0% [37] 312(11.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [43] 100.0% -------------------------------------------------------------------- core-form-sym [31] 100.0% [38] 168(5.9%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [44] 100.0% -------------------------------------------------------------------- expand-capturing-lifts [32] 100.0% [39] 168(5.9%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [45] 100.0% -------------------------------------------------------------------- gen-series! [33] 100.0% [40] 168(5.9%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [46] 100.0% -------------------------------------------------------------------- simplify! [34] 100.0% [41] 160(5.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [47] 100.0% -------------------------------------------------------------------- gen-rewrites! [35] 100.0% [42] 156(5.5%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [48] 100.0% -------------------------------------------------------------------- ??? [37] 100.0% [43] 312(11.0%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [50] 100.0% -------------------------------------------------------------------- resolve+shift28 [38] 100.0% [44] 168(5.9%) 0(0.0%) fallback-loop (unknown source) for-loop [51] 100.0% -------------------------------------------------------------------- dispatch-transformer41 [39] 100.0% [45] 168(5.9%) 0(0.0%) apply-transformer52 (unknown source) loop [27] 100.0% -------------------------------------------------------------------- for-loop [40] 100.0% [46] 168(5.9%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [52] 100.0% -------------------------------------------------------------------- ??? [41] 100.0% [47] 160(5.7%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [53] 100.0% -------------------------------------------------------------------- for-loop [42] 100.0% [48] 156(5.5%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [54] 100.0% -------------------------------------------------------------------- ??? [36] 100.0% [49] 150(5.3%) 150(5.3%) ival-div .../egg-cleanup/src/biginterval.rkt:155:0 -------------------------------------------------------------------- for-loop [43] 100.0% [50] 312(11.0%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 loop [58] 50.6% errors [56] 49.4% -------------------------------------------------------------------- fallback-loop [44] 100.0% [51] 168(5.9%) 168(5.9%) for-loop (unknown source) -------------------------------------------------------------------- taylor-alt [46] 100.0% [52] 168(5.9%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [55] 100.0% -------------------------------------------------------------------- egraph-run [47] 100.0% [53] 160(5.7%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:113:0 ??? [57] 100.0% -------------------------------------------------------------------- rewrite-expression-head20 [48] 33.3% matcher [68] 66.7% [54] 156(5.5%) 0(0.0%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [59] 100.0% -------------------------------------------------------------------- ??? [2] 3.9% location-do [64] 3.9% for-loop [52] 3.9% .../more-scheme.rkt:261:28 [16] 10.8% ??? [29] 28.6% ??? [26] 48.9% [55] 1428(50.5%) 322(11.4%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [60] 37.1% ival-mult [62] 14.6% mk-ival [63] 14.0% location-do [64] 3.9% approximate9 [3] 3.9% hash-ref! [65] 3.9% -------------------------------------------------------------------- atab-add-altn [50] 43.5% .../more-scheme.rkt:261:28 [16] 56.5% [56] 354(12.5%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 for-loop [61] 100.0% -------------------------------------------------------------------- egraph-add-exprs [53] 100.0% [57] 160(5.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [66] 100.0% -------------------------------------------------------------------- atab-add-altn [50] 100.0% [58] 158(5.6%) 158(5.6%) loop ...-7.5/collects/racket/private/hash.rkt:20:4 -------------------------------------------------------------------- rewriter [54] 100.0% [59] 156(5.5%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [68] 66.7% for-loop [67] 33.3% -------------------------------------------------------------------- ??? [55] 100.0% [60] 530(18.7%) 0(0.0%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [69] 100.0% -------------------------------------------------------------------- errors [56] 100.0% [61] 354(12.5%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [16]100.0% -------------------------------------------------------------------- ??? [55] 100.0% [62] 208(7.4%) 0(0.0%) ival-mult ...egg-cleanup/src/biginterval.rkt:119:0 bfmul [70] 100.0% -------------------------------------------------------------------- ??? [55] 100.0% [63] 200(7.1%) 0(0.0%) mk-ival ...ie/egg-cleanup/src/biginterval.rkt:65:0 bf [71] 100.0% -------------------------------------------------------------------- ??? [55] 100.0% [64] 168(5.9%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 ??? [55] 100.0% -------------------------------------------------------------------- for-loop [11] 16.7% ??? [15] 16.7% ??? [72] 16.7% ??? [55] 16.7% ??? [2] 16.7% loop [9] 16.7% [65] 168(5.9%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [2] 33.3% ??? [72] 16.7% ??? [6] 16.7% ??? [5] 16.7% f62 [4] 16.7% -------------------------------------------------------------------- ??? [57] 100.0% [66] 160(5.7%) 160(5.7%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 -------------------------------------------------------------------- for-loop [59] 100.0% [67] 156(5.5%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:99:8 fix-up-variables [73] 100.0% -------------------------------------------------------------------- for-loop [13] 50.0% for-loop [59] 50.0% [68] 156(5.5%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [7] 50.0% rewriter [54] 50.0% -------------------------------------------------------------------- sample-multi-bounded [60] 100.0% [69] 530(18.7%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 build--> [74] 71.7% cons/c [78] 28.3% -------------------------------------------------------------------- ival-mult [62] 100.0% [70] 208(7.4%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [75] 100.0% -------------------------------------------------------------------- mk-ival [63] 100.0% [71] 200(7.1%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [76] 100.0% -------------------------------------------------------------------- hash-ref! [65] 100.0% [72] 168(5.9%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [65] 100.0% -------------------------------------------------------------------- for-loop [67] 100.0% [73] 156(5.5%) 0(0.0%) fix-up-variables ...nup/src/core/matcher.rkt:111:2 pattern-substitute [77] 100.0% -------------------------------------------------------------------- random-ranges [69] 100.0% [74] 380(13.4%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [79] 100.0% -------------------------------------------------------------------- bfmul [70] 100.0% [75] 208(7.4%) 208(7.4%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 -------------------------------------------------------------------- bf [71] 100.0% [76] 200(7.1%) 200(7.1%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 -------------------------------------------------------------------- pattern-substitute [77] 50.0% fix-up-variables [73] 50.0% [77] 156(5.5%) 156(5.5%) pattern-substitute ...up/src/core/matcher.rkt:46:0 pattern-substitute [77] 50.0% -------------------------------------------------------------------- random-ranges [69] 100.0% [78] 150(5.3%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [79] 100.0% -------------------------------------------------------------------- cons/c [78] 28.3% build--> [74] 71.7% [79] 530(18.7%) 182(6.4%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [80] 65.7% -------------------------------------------------------------------- coerce-contract [79] 100.0% [80] 348(12.3%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [81] 100.0% -------------------------------------------------------------------- coerce-contract/f [80] 100.0% [81] 348(12.3%) 348(12.3%) coerce-simple-value ...ract/private/guts.rkt:385:0 --------------------------------------------------------------------