Profiling results ----------------- Total cpu time observed: 5490ms (out of 5588ms) Number of samples taken: 29 (once every 189ms) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== [1] 5490(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [9] 100.0% ------------------------------------------------------------------------ matcher [73] 100.0% [2] 228(4.2%) 0(0.0%) ??? ...ction-both-ends/src/core/matcher.rkt:127:11 for-loop [10] 100.0% ------------------------------------------------------------------------ for-loop [65] 100.0% [3] 228(4.2%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:96:8 fix-up-variables [11] 100.0% ------------------------------------------------------------------------ hash-ref! [93] 100.0% [4] 206(3.8%) 0(0.0%) ??? ...tection-both-ends/src/core/taylor.rkt:67:15 ??? [82] 100.0% ------------------------------------------------------------------------ ??? [82] 100.0% [5] 206(3.8%) 0(0.0%) approximate9 ...both-ends/src/core/taylor.rkt:11:0 loop [12] 100.0% ------------------------------------------------------------------------ hash-ref! [93] 100.0% [6] 206(3.8%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [15] 100.0% ------------------------------------------------------------------------ hash-ref! [93] 100.0% [7] 206(3.8%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:290:26 for-loop [14] 100.0% ------------------------------------------------------------------------ hash-ref! [93] 100.0% [8] 206(3.8%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:300:23 for-loop [13] 100.0% ------------------------------------------------------------------------ ??? [1] 100.0% [9] 5490(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [16] 100.0% ------------------------------------------------------------------------ ??? [2] 100.0% [10] 228(4.2%) 0(0.0%) for-loop ...-both-ends/src/core/matcher.rkt:129:15 matcher [73] 100.0% ------------------------------------------------------------------------ for-loop [3] 100.0% [11] 228(4.2%) 0(0.0%) fix-up-variables ...nds/src/core/matcher.rkt:108:2 pattern-match [17] 100.0% ------------------------------------------------------------------------ approximate9 [5] 100.0% [12] 206(3.8%) 0(0.0%) loop ...tection-both-ends/src/core/taylor.rkt:86:4 hash-ref! [93] 100.0% ------------------------------------------------------------------------ ??? [8] 100.0% [13] 206(3.8%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:303:27 hash-ref! [93] 100.0% ------------------------------------------------------------------------ ??? [7] 100.0% [14] 206(3.8%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:290:52 hash-ref! [93] 100.0% ------------------------------------------------------------------------ parse-loop74 [6] 100.0% [15] 206(3.8%) 0(0.0%) eval-const-expr ...oth-ends/src/programs.rkt:120:0 temp85_0 [77] 100.0% ------------------------------------------------------------------------ profile-thunk16 [9] 100.0% [16] 5490(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% ------------------------------------------------------------------------ fix-up-variables [11] 100.0% [17] 228(4.2%) 0(0.0%) pattern-match ...th-ends/src/core/matcher.rkt:29:0 for-loop [19] 100.0% ------------------------------------------------------------------------ for-loop [78] 3.4% run [16] 96.6% [18] 5490(100.0%) 190(3.5%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [55] 43.7% run-improve47 [20] 21.3% get-final-combination [21] 18.1% errors [69] 6.9% oracle-error [24] 3.3% eval-errors [25] 3.2% ??? [23] 1.7% ------------------------------------------------------------------------ pattern-match [17] 100.0% [19] 228(4.2%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:26:9 fallback-update [22] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [18] 100.0% [20] 1170(21.3%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:346:0 for-loop [26] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [18] 100.0% [21] 996(18.1%) 0(0.0%) get-final-combination ...ds/src/mainloop.rkt:371:0 infer-splitpoints [27] 81.7% f33 [29] 18.3% ------------------------------------------------------------------------ for-loop [19] 100.0% [22] 228(4.2%) 0(0.0%) fallback-update ...s/racket/private/dict.rkt:115:2 ??? [82] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [18] 100.0% [23] 184(3.4%) 184(3.4%) ??? ...tion-both-ends/src/syntax/syntax.rkt:214:17 ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [18] 100.0% [24] 182(3.3%) 0(0.0%) oracle-error ...ion-both-ends/src/points.rkt:190:0 for-loop [28] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [18] 100.0% [25] 178(3.2%) 0(0.0%) eval-errors ...tion-both-ends/src/points.rkt:181:0 for-loop [30] 100.0% ------------------------------------------------------------------------ run-improve47 [20] 100.0% [26] 1170(21.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:365:4 run-iter! [31] 100.0% ------------------------------------------------------------------------ get-final-combination [21] 100.0% [27] 814(14.8%) 0(0.0%) infer-splitpoints ...nds/src/core/regimes.rkt:33:0 for-loop [32] 100.0% ------------------------------------------------------------------------ oracle-error [24] 100.0% [28] 182(3.3%) 182(3.3%) for-loop ...tection-both-ends/src/points.rkt:191:2 ------------------------------------------------------------------------ get-final-combination [21] 100.0% [29] 182(3.3%) 0(0.0%) f33 (unknown source) sindices->spoints [33] 100.0% ------------------------------------------------------------------------ eval-errors [25] 100.0% [30] 178(3.2%) 178(3.2%) for-loop ...tection-both-ends/src/points.rkt:183:2 ------------------------------------------------------------------------ for-loop [26] 100.0% [31] 1170(21.3%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:327:0 simplify! [35] 46.3% gen-rewrites! [36] 19.5% gen-series! [37] 17.6% choose-best-alt! [38] 16.6% ------------------------------------------------------------------------ infer-splitpoints [27] 100.0% [32] 814(14.8%) 0(0.0%) for-loop ...on-both-ends/src/core/regimes.rkt:45:6 option-on-expr [34] 100.0% ------------------------------------------------------------------------ f33 [29] 100.0% [33] 182(3.3%) 0(0.0%) sindices->spoints ...ds/src/core/regimes.rkt:194:0 for-loop [39] 100.0% ------------------------------------------------------------------------ for-loop [32] 100.0% [34] 814(14.8%) 0(0.0%) option-on-expr ...-ends/src/core/regimes.rkt:124:0 err-lsts->split-indices [41] 50.4% for-loop [43] 26.5% sort-context-on-expr [46] 23.1% ------------------------------------------------------------------------ run-iter! [31] 100.0% [35] 542(9.9%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [40] 100.0% ------------------------------------------------------------------------ run-iter! [31] 100.0% [36] 228(4.2%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [42] 100.0% ------------------------------------------------------------------------ run-iter! [31] 100.0% [37] 206(3.8%) 0(0.0%) gen-series! ...on-both-ends/src/mainloop.rkt:160:0 for-loop [44] 100.0% ------------------------------------------------------------------------ run-iter! [31] 100.0% [38] 194(3.5%) 0(0.0%) choose-best-alt! ...th-ends/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [45] 100.0% ------------------------------------------------------------------------ sindices->spoints [33] 100.0% [39] 182(3.3%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:234:9 binary-search-floats [47] 100.0% ------------------------------------------------------------------------ simplify! [35] 100.0% [40] 542(9.9%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [48] 100.0% ------------------------------------------------------------------------ option-on-expr [34] 100.0% [41] 410(7.5%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:263:0 loop [49] 100.0% ------------------------------------------------------------------------ gen-rewrites! [36] 100.0% [42] 228(4.2%) 0(0.0%) for-loop ...tion-both-ends/src/mainloop.rkt:191:11 rewrite-expression-head24 [50] 100.0% ------------------------------------------------------------------------ option-on-expr [34] 100.0% [43] 216(3.9%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:135:4 errors [69] 100.0% ------------------------------------------------------------------------ gen-series! [37] 100.0% [44] 206(3.8%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:167:7 taylor-alt [51] 100.0% ------------------------------------------------------------------------ choose-best-alt! [38] 100.0% [45] 194(3.5%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [52] 100.0% ------------------------------------------------------------------------ option-on-expr [34] 100.0% [46] 188(3.4%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:117:0 ??? [53] 100.0% ------------------------------------------------------------------------ for-loop [39] 100.0% [47] 182(3.3%) 0(0.0%) binary-search-floats ...src/core/regimes.rkt:176:0 pred [54] 100.0% ------------------------------------------------------------------------ ??? [40] 100.0% [48] 542(9.9%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [56] 100.0% ------------------------------------------------------------------------ err-lsts->split-indices [41] 100.0% [49] 410(7.5%) 0(0.0%) loop ...ction-both-ends/src/core/regimes.rkt:314:4 for-loop [57] 100.0% ------------------------------------------------------------------------ for-loop [42] 100.0% [50] 228(4.2%) 0(0.0%) rewrite-expression-head24 ...core/matcher.rkt:85:0 rewriter [58] 100.0% ------------------------------------------------------------------------ for-loop [44] 100.0% [51] 206(3.8%) 0(0.0%) taylor-alt ...ion-both-ends/src/mainloop.rkt:146:0 for-loop [59] 100.0% ------------------------------------------------------------------------ ...ow-val-first.rkt:486:18 [45] 100.0% [52] 194(3.5%) 0(0.0%) ??? ...ction-both-ends/src/core/alt-table.rkt:49:0 argmin [60] 100.0% ------------------------------------------------------------------------ sort-context-on-expr [46] 100.0% [53] 188(3.4%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [61] 100.0% ------------------------------------------------------------------------ binary-search-floats [47] 100.0% [54] 182(3.3%) 0(0.0%) pred ...ction-both-ends/src/core/regimes.rkt:204:4 prepare-points-intervals [55] 100.0% ------------------------------------------------------------------------ pred [54] 7.1% .../more-scheme.rkt:261:28 [18] 92.9% [55] 2580(47.0%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:133:0 loop [62] 100.0% ------------------------------------------------------------------------ egraph-run [48] 100.0% [56] 542(9.9%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [63] 100.0% ------------------------------------------------------------------------ loop [49] 100.0% [57] 410(7.5%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:279:4 for-loop [64] 100.0% ------------------------------------------------------------------------ rewrite-expression-head24 [50] 25.0% matcher [73] 75.0% [58] 228(4.2%) 0(0.0%) rewriter ...on-both-ends/src/core/matcher.rkt:87:2 for-loop [65] 100.0% ------------------------------------------------------------------------ taylor-alt [51] 100.0% [59] 206(3.8%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:152:6 ??? [82] 100.0% ------------------------------------------------------------------------ ??? [52] 100.0% [60] 194(3.5%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [66] 100.0% ------------------------------------------------------------------------ ??? [53] 100.0% [61] 188(3.4%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [67] 100.0% ------------------------------------------------------------------------ prepare-points-intervals [55] 100.0% [62] 2580(47.0%) 0(0.0%) loop ...w-detection-both-ends/src/points.rkt:145:4 loop [68] 86.2% ??? [70] 13.8% ------------------------------------------------------------------------ egraph-add-exprs [56] 100.0% [63] 542(9.9%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:102:6 for-loop [71] 50.6% egg-run-rules [72] 49.4% ------------------------------------------------------------------------ for-loop [57] 100.0% [64] 410(7.5%) 194(3.5%) for-loop ...n-both-ends/src/core/regimes.rkt:283:8 ??? [74] 52.7% ------------------------------------------------------------------------ rewriter [58] 100.0% [65] 228(4.2%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:89:4 matcher [73] 75.0% for-loop [3] 25.0% ------------------------------------------------------------------------ argmin [60] 100.0% [66] 194(3.5%) 0(0.0%) ??? ...detection-both-ends/src/mainloop.rkt:114:10 errors [69] 100.0% ------------------------------------------------------------------------ generic-sort/key [61] 100.0% [67] 188(3.4%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 loop [75] 100.0% ------------------------------------------------------------------------ loop [62] 100.0% [68] 2224(40.5%) 0(0.0%) loop ...ow-detection-both-ends/src/points.rkt:81:2 real->precision [76] 46.2% ??? [82] 31.1% ??? [79] 22.7% ------------------------------------------------------------------------ ??? [66] 19.9% for-loop [43] 22.1% .../more-scheme.rkt:261:28 [18] 58.0% [69] 976(17.8%) 0(0.0%) errors ...detection-both-ends/src/points.rkt:203:0 for-loop [78] 58.2% temp85_0 [77] 41.8% ------------------------------------------------------------------------ loop [62] 100.0% [70] 356(6.5%) 180(3.3%) ??? ...ow-detection-both-ends/src/points.rkt:126:6 sample-multi-bounded [81] 49.4% ------------------------------------------------------------------------ ??? [63] 100.0% [71] 274(5.0%) 274(5.0%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 ------------------------------------------------------------------------ ??? [63] 100.0% [72] 268(4.9%) 0(0.0%) egg-run-rules ...-ends/src/core/simplify.rkt:108:0 make-ffi-rules [80] 100.0% ------------------------------------------------------------------------ for-loop [10] 50.0% for-loop [65] 50.0% [73] 228(4.2%) 0(0.0%) matcher ...on-both-ends/src/core/matcher.rkt:115:2 ??? [2] 50.0% rewriter [58] 50.0% ------------------------------------------------------------------------ for-loop [64] 100.0% [74] 216(3.9%) 216(3.9%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 ------------------------------------------------------------------------ copying-mergesort [67] 100.0% [75] 188(3.4%) 0(0.0%) loop ...7.5/collects/racket/private/sort.rkt:96:12 ??? [82] 100.0% ------------------------------------------------------------------------ loop [68] 100.0% [76] 1028(18.7%) 0(0.0%) real->precision ...oth-ends/src/programs.rkt:94:11 ??? [82] 100.0% ------------------------------------------------------------------------ eval-const-expr [15] 33.6% errors [69] 66.4% [77] 614(11.2%) 0(0.0%) temp85_0 (unknown source) compile15 [83] 100.0% ------------------------------------------------------------------------ errors [69] 100.0% [78] 568(10.3%) 194(3.5%) for-loop ...tection-both-ends/src/points.rkt:205:2 .../more-scheme.rkt:261:28 [18] 65.8% ------------------------------------------------------------------------ loop [68] 100.0% [79] 504(9.2%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-add [84] 69.4% ival-sqrt [87] 30.6% ------------------------------------------------------------------------ egg-run-rules [72] 100.0% [80] 268(4.9%) 0(0.0%) make-ffi-rules ...s/egg-herbie-linux/main.rkt:28:0 for-loop [85] 100.0% ------------------------------------------------------------------------ ??? [70] 100.0% [81] 176(3.2%) 0(0.0%) sample-multi-bounded ...h-ends/src/points.rkt:14:0 random-ranges [86] 100.0% ------------------------------------------------------------------------ ??? [4] 2.9% location-do [92] 2.9% for-loop [59] 2.9% loop [75] 8.0% fallback-update [22] 9.7% loop [68] 29.5% real->precision [76] 43.9% [82] 2342(42.7%) 756(13.8%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [88] 29.5% bf [89] 29.4% location-do [92] 2.9% approximate9 [5] 2.9% hash-ref! [93] 2.9% ------------------------------------------------------------------------ temp85_0 [77] 100.0% [83] 614(11.2%) 0(0.0%) compile15 (unknown source) temp91_0 [90] 100.0% ------------------------------------------------------------------------ ??? [79] 100.0% [84] 350(6.4%) 0(0.0%) ival-add ...on-both-ends/src/biginterval.rkt:202:0 e-compute7 [94] 100.0% ------------------------------------------------------------------------ make-ffi-rules [80] 100.0% [85] 268(4.9%) 0(0.0%) for-loop ....5/pkgs/egg-herbie-linux/main.rkt:29:2 to-egg-pattern [91] 100.0% ------------------------------------------------------------------------ sample-multi-bounded [81] 100.0% [86] 176(3.2%) 176(3.2%) random-ranges ...on-both-ends/src/common.rkt:164:0 ------------------------------------------------------------------------ ??? [79] 100.0% [87] 154(2.8%) 154(2.8%) ival-sqrt ...n-both-ends/src/biginterval.rkt:318:0 ------------------------------------------------------------------------ ??? [82] 100.0% [88] 692(12.6%) 0(0.0%) ival-mult ...n-both-ends/src/biginterval.rkt:225:0 e-compute7 [94] 100.0% ------------------------------------------------------------------------ ??? [82] 100.0% [89] 688(12.5%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [103] 77.3% ??? [104] 22.7% ------------------------------------------------------------------------ compile15 [83] 100.0% [90] 614(11.2%) 0(0.0%) temp91_0 (unknown source) temp118_0 [95] 68.7% compile-top9 [98] 31.3% ------------------------------------------------------------------------ for-loop [85] 100.0% [91] 268(4.9%) 268(4.9%) to-egg-pattern ...ie-linux/to-egg-pattern.rkt:17:0 ------------------------------------------------------------------------ ??? [82] 100.0% [92] 206(3.8%) 0(0.0%) location-do ...ion-both-ends/src/programs.rkt:63:0 ??? [82] 100.0% ------------------------------------------------------------------------ ??? [96] 16.7% for-loop [14] 16.7% for-loop [13] 16.7% ??? [97] 16.7% ??? [82] 16.7% loop [12] 16.7% [93] 206(3.8%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [4] 16.7% ??? [97] 16.7% ??? [8] 16.7% ??? [7] 16.7% ??? [96] 16.7% parse-loop74 [6] 16.7% ------------------------------------------------------------------------ ival-add [84] 33.6% ival-mult [88] 66.4% [94] 1042(19.0%) 0(0.0%) e-compute7 ...-both-ends/src/biginterval.rkt:149:0 bfadd [99] 50.1% strong-immovable-endpoint-0? [100] 49.9% ------------------------------------------------------------------------ temp91_0 [90] 100.0% [95] 422(7.7%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [101] 100.0% ------------------------------------------------------------------------ hash-ref! [93] 100.0% [96] 206(3.8%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:327:33 hash-ref! [93] 100.0% ------------------------------------------------------------------------ hash-ref! [93] 100.0% [97] 206(3.8%) 0(0.0%) ??? ...tection-both-ends/src/core/taylor.rkt:44:15 hash-ref! [93] 100.0% ------------------------------------------------------------------------ temp91_0 [90] 100.0% [98] 192(3.5%) 0(0.0%) compile-top9 (unknown source) compile-forms33 [102] 100.0% ------------------------------------------------------------------------ e-compute7 [94] 100.0% [99] 522(9.5%) 0(0.0%) bfadd ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [104] 68.6% new-mpfr [103] 31.4% ------------------------------------------------------------------------ e-compute7 [94] 100.0% [100] 520(9.5%) 520(9.5%) strong-immovable-endpoint-0? ...interval.rkt:116:0 ------------------------------------------------------------------------ temp118_0 [95] 100.0% [101] 422(7.7%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [105] 100.0% ------------------------------------------------------------------------ compile-top9 [98] 100.0% [102] 192(3.5%) 0(0.0%) compile-forms33 (unknown source) for-loop [107] 100.0% ------------------------------------------------------------------------ bfadd [99] 23.6% bf [89] 76.4% [103] 696(12.7%) 696(12.7%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ------------------------------------------------------------------------ bf [89] 30.4% bfadd [99] 69.6% [104] 514(9.4%) 514(9.4%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ------------------------------------------------------------------------ expand-capturing-lifts [101] 100.0% [105] 422(7.7%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [106] 100.0% ------------------------------------------------------------------------ lambda-clause-expander [105] 18.2% for-loop [107] 81.8% [106] 422(7.7%) 0(0.0%) finish-bodys (unknown source) for-loop [107] 100.0% ------------------------------------------------------------------------ for-loop [107] 15.4% compile-forms33 [102] 31.3% finish-bodys [106] 53.3% [107] 614(11.2%) 216(3.9%) for-loop (unknown source) finish-bodys [106] 43.5% compile-module-linklet57 [109] 31.3% for-loop [107] 15.4% dispatch-variable [108] 2.8% ------------------------------------------------------------------------ for-loop [107] 100.0% [108] 206(3.8%) 0(0.0%) dispatch-variable (unknown source) substitute-variable6 [110] 100.0% ------------------------------------------------------------------------ for-loop [107] 100.0% [109] 192(3.5%) 192(3.5%) compile-module-linklet57 (unknown source) ------------------------------------------------------------------------ dispatch-variable [108] 100.0% [110] 206(3.8%) 206(3.8%) substitute-variable6 (unknown source) ------------------------------------------------------------------------