Profiling results ----------------- Total cpu time observed: 7694ms (out of 7912ms) Number of samples taken: 37 (once every 208ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== [1] 7694(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [4] 100.0% --------------------------------------------------------------------- ??? [78] 100.0% [2] 558(7.3%) 0(0.0%) approximate9 ...g-cleanup/src/core/taylor.rkt:12:0 loop [5] 67.4% for-loop [7] 32.6% --------------------------------------------------------------------- matcher [69] 100.0% [3] 192(2.5%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [6] 100.0% --------------------------------------------------------------------- ??? [1] 100.0% [4] 7694(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% --------------------------------------------------------------------- approximate9 [2] 100.0% [5] 376(4.9%) 0(0.0%) loop ...erbie/egg-cleanup/src/core/taylor.rkt:87:4 hash-ref! [41] 100.0% --------------------------------------------------------------------- ??? [3] 100.0% [6] 192(2.5%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [69] 100.0% --------------------------------------------------------------------- approximate9 [2] 100.0% [7] 182(2.4%) 0(0.0%) for-loop .../egg-cleanup/src/core/taylor.rkt:30:18 taylor [51] 100.0% --------------------------------------------------------------------- profile-thunk16 [4] 100.0% [8] 7694(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [9]100.0% --------------------------------------------------------------------- for-loop [67] 2.4% run [8] 97.6% [9] 7694(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [10] 64.4% run-improve47 [11] 26.8% get-final-combination [12] 2.4% ??? [75] 2.4% oracle-error [14] 2.0% eval-errors [13] 2.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9]100.0% [10] 4954(64.4%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [15] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9]100.0% [11] 2244(29.2%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [16] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9]100.0% [12] 184(2.4%) 0(0.0%) get-final-combination ...up/src/mainloop.rkt:371:0 infer-splitpoints [17] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9]100.0% [13] 156(2.0%) 0(0.0%) eval-errors ...ie/egg-cleanup/src/points.rkt:179:0 for-loop [18] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9]100.0% [14] 156(2.0%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [19] 100.0% --------------------------------------------------------------------- prepare-points-intervals [10] 100.0% [15] 4954(64.4%) 386(5.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 loop [20] 71.2% ??? [22] 17.0% loop [23] 4.0% --------------------------------------------------------------------- run-improve47 [11] 100.0% [16] 2244(29.2%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [21] 100.0% --------------------------------------------------------------------- get-final-combination [12] 100.0% [17] 184(2.4%) 0(0.0%) infer-splitpoints ...nup/src/core/regimes.rkt:34:0 for-loop [24] 100.0% --------------------------------------------------------------------- eval-errors [13] 100.0% [18] 156(2.0%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:181:2 ulp-difference [25] 100.0% --------------------------------------------------------------------- oracle-error [14] 100.0% [19] 156(2.0%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 map [60] 100.0% --------------------------------------------------------------------- loop [15] 100.0% [20] 3526(45.8%) 0(0.0%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [75] 94.2% ??? [34] 5.8% --------------------------------------------------------------------- for-loop [16] 100.0% [21] 2244(29.2%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 simplify! [26] 33.4% finalize-iter! [27] 25.0% gen-series! [28] 24.9% gen-rewrites! [31] 8.6% localize! [33] 8.2% --------------------------------------------------------------------- loop [15] 100.0% [22] 842(10.9%) 0(0.0%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [78] 76.2% do-curry [30] 23.8% --------------------------------------------------------------------- loop [15] 100.0% [23] 200(2.6%) 0(0.0%) loop (unknown source) ??? [29] 100.0% --------------------------------------------------------------------- infer-splitpoints [17] 100.0% [24] 184(2.4%) 0(0.0%) for-loop .../egg-cleanup/src/core/regimes.rkt:47:6 option-on-expr [32] 100.0% --------------------------------------------------------------------- for-loop [18] 100.0% [25] 156(2.0%) 156(2.0%) ulp-difference ...e/egg-cleanup/src/float.rkt:20:0 --------------------------------------------------------------------- run-iter! [21] 100.0% [26] 750(9.7%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [35] 100.0% --------------------------------------------------------------------- run-iter! [21] 100.0% [27] 560(7.3%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [34] 100.0% --------------------------------------------------------------------- run-iter! [21] 100.0% [28] 558(7.3%) 0(0.0%) gen-series! .../egg-cleanup/src/mainloop.rkt:160:0 for-loop [36] 100.0% --------------------------------------------------------------------- loop [23] 100.0% [29] 200(2.6%) 200(2.6%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 --------------------------------------------------------------------- ??? [22] 100.0% [30] 200(2.6%) 200(2.6%) do-curry ...-7.5/collects/racket/function.rkt:71:2 --------------------------------------------------------------------- run-iter! [21] 100.0% [31] 192(2.5%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [37] 100.0% --------------------------------------------------------------------- for-loop [24] 100.0% [32] 184(2.4%) 0(0.0%) option-on-expr ...eanup/src/core/regimes.rkt:126:0 sort-context-on-expr [38] 100.0% --------------------------------------------------------------------- run-iter! [21] 100.0% [33] 184(2.4%) 0(0.0%) localize! ...ie/egg-cleanup/src/mainloop.rkt:127:0 localize-error [39] 100.0% --------------------------------------------------------------------- loop [20] 26.7% finalize-iter! [27] 73.3% [34] 764(9.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [42] 73.3% ??? [44] 26.7% --------------------------------------------------------------------- simplify! [26] 100.0% [35] 750(9.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [40] 100.0% --------------------------------------------------------------------- gen-series! [28] 100.0% [36] 558(7.3%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:167:7 taylor-alt [43] 100.0% --------------------------------------------------------------------- gen-rewrites! [31] 100.0% [37] 192(2.5%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [45]100.0% --------------------------------------------------------------------- option-on-expr [32] 100.0% [38] 184(2.4%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:119:0 ??? [46] 100.0% --------------------------------------------------------------------- localize! [33] 100.0% [39] 184(2.4%) 0(0.0%) localize-error ...eanup/src/core/localize.rkt:65:0 hash-ref! [41] 100.0% --------------------------------------------------------------------- ??? [35] 100.0% [40] 750(9.7%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [47] 100.0% --------------------------------------------------------------------- ??? [54] 11.4% ??? [78] 27.9% loop [5] 27.9% localize-error [39] 32.9% [41] 560(7.3%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 parse-loop30 [56] 32.9% ??? [49] 27.9% taylor [51] 16.4% ??? [54] 11.4% f41 [53] 11.4% --------------------------------------------------------------------- ??? [34] 100.0% [42] 560(7.3%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [50] 67.1% errors [59] 32.9% --------------------------------------------------------------------- for-loop [36] 100.0% [43] 558(7.3%) 0(0.0%) taylor-alt ...e/egg-cleanup/src/mainloop.rkt:146:0 for-loop [48] 100.0% --------------------------------------------------------------------- ??? [34] 100.0% [44] 204(2.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:770:8 bigvalue? [52] 100.0% --------------------------------------------------------------------- for-loop [37] 100.0% [45] 192(2.5%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [55] 100.0% --------------------------------------------------------------------- sort-context-on-expr [38] 100.0% [46] 184(2.4%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [57] 100.0% --------------------------------------------------------------------- egraph-run [40] 100.0% [47] 750(9.7%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:111:0 ??? [58] 100.0% --------------------------------------------------------------------- taylor-alt [43] 100.0% [48] 558(7.3%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:152:6 ??? [78] 100.0% --------------------------------------------------------------------- hash-ref! [41] 100.0% [49] 376(4.9%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:68:15 ??? [78] 100.0% --------------------------------------------------------------------- for-loop [42] 100.0% [50] 376(4.9%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [59] 100.0% --------------------------------------------------------------------- for-loop [7] 16.6% hash-ref! [41] 25.1% taylor [51] 58.3% [51] 366(4.8%) 0(0.0%) taylor ...ie/egg-cleanup/src/core/taylor.rkt:170:0 taylor [51] 58.3% taylor-invert [63] 25.1% taylor-quotient [65] 16.6% --------------------------------------------------------------------- ??? [44] 100.0% [52] 204(2.7%) 204(2.7%) bigvalue? ...egg-cleanup/src/syntax/types.rkt:19:0 --------------------------------------------------------------------- hash-ref! [41] 100.0% [53] 192(2.5%) 0(0.0%) f41 (unknown source) map [60] 100.0% --------------------------------------------------------------------- hash-ref! [41] 100.0% [54] 192(2.5%) 0(0.0%) ??? ...erbie/egg-cleanup/src/core/taylor.rkt:45:15 hash-ref! [41] 100.0% --------------------------------------------------------------------- matcher [69] 50.0% rewrite-expression-head20 [45] 50.0% [55] 192(2.5%) 192(2.5%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [61] 50.0% --------------------------------------------------------------------- hash-ref! [41] 100.0% [56] 184(2.4%) 0(0.0%) parse-loop30 (unknown source) for-loop [62] 100.0% --------------------------------------------------------------------- ??? [46] 100.0% [57] 184(2.4%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [64] 100.0% --------------------------------------------------------------------- egraph-add-exprs [47] 100.0% [58] 750(9.7%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [66] 100.0% --------------------------------------------------------------------- for-loop [42] 32.9% atab-add-altn [50] 67.1% [59] 560(7.3%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 for-loop [67] 65.7% eval-prog [70] 34.3% --------------------------------------------------------------------- for-loop [19] 44.8% f41 [53] 55.2% [60] 348(4.5%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 simplify* [68] 55.2% ??? [74] 44.8% --------------------------------------------------------------------- rewriter [55] 100.0% [61] 192(2.5%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [69] 100.0% --------------------------------------------------------------------- parse-loop30 [56] 100.0% [62] 184(2.4%) 0(0.0%) for-loop ...gg-cleanup/src/core/localize.rkt:52:21 for-loop [71] 100.0% --------------------------------------------------------------------- taylor [51] 100.0% [63] 184(2.4%) 0(0.0%) taylor-invert ...cleanup/src/core/taylor.rkt:318:0 parse-loop75 [72] 100.0% --------------------------------------------------------------------- generic-sort/key [57] 25.0% copying-mergesort [64] 75.0% [64] 184(2.4%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [64] 75.0% jloop [73] 25.0% --------------------------------------------------------------------- taylor [51] 100.0% [65] 182(2.4%) 182(2.4%) taylor-quotient ...eanup/src/core/taylor.rkt:334:0 --------------------------------------------------------------------- ??? [58] 100.0% [66] 750(9.7%) 750(9.7%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 --------------------------------------------------------------------- errors [59] 100.0% [67] 368(4.8%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [9]100.0% --------------------------------------------------------------------- map [60] 100.0% [68] 192(2.5%) 192(2.5%) simplify* .../egg-cleanup/src/core/reduce.rkt:29:0 --------------------------------------------------------------------- for-loop [6] 50.0% for-loop [61] 50.0% [69] 192(2.5%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [3] 50.0% rewriter [55] 50.0% --------------------------------------------------------------------- errors [59] 100.0% [70] 192(2.5%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [80] 100.0% --------------------------------------------------------------------- for-loop [62] 100.0% [71] 184(2.4%) 184(2.4%) for-loop ...gg-cleanup/src/core/localize.rkt:53:23 --------------------------------------------------------------------- taylor-invert [63] 100.0% [72] 184(2.4%) 0(0.0%) parse-loop75 (unknown source) eval-const-expr [76] 100.0% --------------------------------------------------------------------- copying-mergesort [64] 100.0% [73] 184(2.4%) 0(0.0%) jloop ...5/collects/racket/private/sort.rkt:120:23 ??? [75] 100.0% --------------------------------------------------------------------- map [60] 100.0% [74] 156(2.0%) 0(0.0%) ??? ...es/herbie/egg-cleanup/src/points.rkt:190:26 ??? [75] 100.0% --------------------------------------------------------------------- ??? [74] 3.9% jloop [73] 4.6% .../more-scheme.rkt:261:28 [9] 9.1% loop [20] 82.4% [75] 4030(52.4%) 386(5.0%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [77] 62.1% ??? [78] 15.3% ??? [79] 13.0% --------------------------------------------------------------------- parse-loop75 [72] 100.0% [76] 184(2.4%) 0(0.0%) eval-const-expr ...-cleanup/src/programs.rkt:118:0 temp85_0 [80] 100.0% --------------------------------------------------------------------- ??? [75] 100.0% [77] 2502(32.5%) 392(5.1%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sin [81] 66.7% ival-exp [83] 17.6% --------------------------------------------------------------------- ??? [49] 6.9% location-do [82] 11.9% for-loop [48] 11.9% ??? [75] 34.0% ??? [22] 35.3% [78] 1818(23.6%) 420(5.5%) ??? ...tract/private/arrow-higher-order.rkt:375:33 sample-multi-bounded [84] 23.0% location-do [82] 11.9% approximate9 [2] 11.9% mk-ival [86] 11.9% ival-mult [87] 11.3% hash-ref! [41] 6.9% --------------------------------------------------------------------- ??? [75] 100.0% [79] 524(6.8%) 524(6.8%) ??? ...ie/egg-cleanup/src/syntax/syntax.rkt:214:17 --------------------------------------------------------------------- eval-const-expr [76] 48.9% eval-prog [70] 51.1% [80] 376(4.9%) 0(0.0%) temp85_0 (unknown source) compile15 [85] 100.0% --------------------------------------------------------------------- ??? [77] 100.0% [81] 1670(21.7%) 436(5.7%) ival-sin .../egg-cleanup/src/biginterval.rkt:305:0 bfmul [88] 37.5% pi.bf [89] 36.4% --------------------------------------------------------------------- location-do [82] 39.2% ??? [78] 60.8% [82] 558(7.3%) 0(0.0%) location-do ...e/egg-cleanup/src/programs.rkt:64:0 ??? [78] 60.8% location-do [82] 39.2% --------------------------------------------------------------------- ??? [77] 100.0% [83] 440(5.7%) 440(5.7%) ival-exp .../egg-cleanup/src/biginterval.rkt:191:0 --------------------------------------------------------------------- ??? [78] 100.0% [84] 418(5.4%) 200(2.6%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [91] 52.2% --------------------------------------------------------------------- temp85_0 [80] 100.0% [85] 376(4.9%) 0(0.0%) compile15 (unknown source) temp91_0 [90] 100.0% --------------------------------------------------------------------- ??? [78] 100.0% [86] 216(2.8%) 0(0.0%) mk-ival ...ie/egg-cleanup/src/biginterval.rkt:65:0 bf [92] 100.0% --------------------------------------------------------------------- ??? [78] 100.0% [87] 206(2.7%) 0(0.0%) ival-mult ...egg-cleanup/src/biginterval.rkt:119:0 bfmul [88] 100.0% --------------------------------------------------------------------- ival-mult [87] 24.8% ival-sin [81] 75.2% [88] 832(10.8%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 new-mpfr [93] 73.3% ??? [94] 26.7% --------------------------------------------------------------------- ival-sin [81] 100.0% [89] 608(7.9%) 0(0.0%) pi.bf ...lib/math/private/bigfloat/mpfr.rkt:1012:4 new-mpfr [93] 67.1% ??? [94] 32.9% --------------------------------------------------------------------- compile15 [85] 100.0% [90] 376(4.9%) 0(0.0%) temp91_0 (unknown source) temp118_0 [95] 100.0% --------------------------------------------------------------------- sample-multi-bounded [84] 100.0% [91] 218(2.8%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 cons/c [96] 100.0% --------------------------------------------------------------------- mk-ival [86] 100.0% [92] 216(2.8%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [93] 100.0% --------------------------------------------------------------------- bf [92] 17.5% pi.bf [89] 33.1% bfmul [88] 49.4% [93] 1234(16.0%) 1234(16.0%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 --------------------------------------------------------------------- pi.bf [89] 47.4% bfmul [88] 52.6% [94] 422(5.5%) 422(5.5%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 --------------------------------------------------------------------- temp91_0 [90] 100.0% [95] 376(4.9%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [97] 100.0% --------------------------------------------------------------------- random-ranges [91] 100.0% [96] 218(2.8%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [98] 100.0% --------------------------------------------------------------------- temp118_0 [95] 100.0% [97] 376(4.9%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [99] 100.0% --------------------------------------------------------------------- cons/c [96] 100.0% [98] 218(2.8%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [100] 100.0% --------------------------------------------------------------------- expand-capturing-lifts [97] 100.0% [99] 376(4.9%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [101] 100.0% --------------------------------------------------------------------- coerce-contract [98] 100.0% [100] 218(2.8%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [102] 100.0% --------------------------------------------------------------------- for-loop [103] 25.5% lambda-clause-expander [99] 74.5% [101] 376(4.9%) 0(0.0%) finish-bodys (unknown source) for-loop [103] 100.0% --------------------------------------------------------------------- coerce-contract/f [100] 100.0% [102] 218(2.8%) 218(2.8%) coerce-simple-value ...ract/private/guts.rkt:385:0 --------------------------------------------------------------------- for-loop [103] 50.0% finish-bodys [101] 50.0% [103] 376(4.9%) 184(2.4%) for-loop (unknown source) for-loop [103] 50.0% finish-bodys [101] 12.8% expand-identifier [104] 12.8% --------------------------------------------------------------------- for-loop [103] 100.0% [104] 192(2.5%) 192(2.5%) expand-identifier (unknown source) ---------------------------------------------------------------------