Profiling results ----------------- Total cpu time observed: 5244ms (out of 5312ms) Number of samples taken: 21 (once every 250ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== [1] 5244(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [3] 100.0% ---------------------------------------------------------------------- matcher [56] 100.0% [2] 232(4.4%) 0(0.0%) ??? ...ction-both-ends/src/core/matcher.rkt:127:11 for-loop [4] 100.0% ---------------------------------------------------------------------- ??? [1] 100.0% [3] 5244(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- ??? [2] 100.0% [4] 232(4.4%) 0(0.0%) for-loop ...-both-ends/src/core/matcher.rkt:129:15 matcher [56] 100.0% ---------------------------------------------------------------------- profile-thunk16 [3] 100.0% [5] 5244(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [6] 100.0% ---------------------------------------------------------------------- for-loop [57] 9.1% run [5] 90.9% [6] 5244(100.0%) 466(8.9%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [7] 79.4% get-final-combination [8] 11.6% ??? [9] 4.6% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [7] 4638(88.4%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:346:0 for-loop [10] 82.9% ??? [25] 9.7% simplify! [18] 7.4% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [8] 606(11.6%) 0(0.0%) get-final-combination ...ds/src/mainloop.rkt:371:0 infer-splitpoints [11] 65.7% f33 [13] 34.3% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [9] 486(9.3%) 246(4.7%) ??? ...tion-both-ends/src/syntax/syntax.rkt:214:17 return/no-unsupplied [12] 49.4% ---------------------------------------------------------------------- run-improve47 [7] 100.0% [10] 3846(73.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:365:4 run-iter! [14] 100.0% ---------------------------------------------------------------------- get-final-combination [8] 100.0% [11] 398(7.6%) 0(0.0%) infer-splitpoints ...nds/src/core/regimes.rkt:33:0 for-loop [15] 100.0% ---------------------------------------------------------------------- ??? [9] 100.0% [12] 240(4.6%) 0(0.0%) return/no-unsupplied ...ct/private/arr-i.rkt:566:0 filter [16] 100.0% ---------------------------------------------------------------------- get-final-combination [8] 100.0% [13] 208(4.0%) 0(0.0%) f33 (unknown source) sindices->spoints [17] 100.0% ---------------------------------------------------------------------- for-loop [10] 100.0% [14] 3846(73.3%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:327:0 simplify! [18] 32.0% finalize-iter! [19] 29.9% gen-series! [20] 26.2% gen-rewrites! [22] 6.0% choose-best-alt! [23] 5.8% ---------------------------------------------------------------------- infer-splitpoints [11] 100.0% [15] 398(7.6%) 0(0.0%) for-loop ...on-both-ends/src/core/regimes.rkt:45:6 option-on-expr [21] 100.0% ---------------------------------------------------------------------- return/no-unsupplied [12] 100.0% [16] 240(4.6%) 240(4.6%) filter ...5/collects/racket/private/list.rkt:256:2 ---------------------------------------------------------------------- f33 [13] 100.0% [17] 208(4.0%) 0(0.0%) sindices->spoints ...ds/src/core/regimes.rkt:194:0 for-loop [24] 100.0% ---------------------------------------------------------------------- run-improve47 [7] 21.8% run-iter! [14] 78.2% [18] 1576(30.1%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [26] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [19] 1150(21.9%) 0(0.0%) finalize-iter! ...both-ends/src/mainloop.rkt:278:0 ??? [25] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [20] 1008(19.2%) 0(0.0%) gen-series! ...on-both-ends/src/mainloop.rkt:160:0 for-loop [27] 100.0% ---------------------------------------------------------------------- for-loop [15] 100.0% [21] 398(7.6%) 0(0.0%) option-on-expr ...-ends/src/core/regimes.rkt:124:0 err-lsts->split-indices [31] 50.3% for-loop [32] 49.7% ---------------------------------------------------------------------- run-iter! [14] 100.0% [22] 232(4.4%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [28] 100.0% ---------------------------------------------------------------------- run-iter! [14] 100.0% [23] 224(4.3%) 0(0.0%) choose-best-alt! ...th-ends/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [29] 100.0% ---------------------------------------------------------------------- sindices->spoints [17] 100.0% [24] 208(4.0%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:234:9 pred [30] 100.0% ---------------------------------------------------------------------- run-improve47 [7] 28.0% finalize-iter! [19] 72.0% [25] 1598(30.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [34] 72.0% make-alt-table [36] 28.0% ---------------------------------------------------------------------- simplify! [18] 100.0% [26] 1576(30.1%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [33] 100.0% ---------------------------------------------------------------------- gen-series! [20] 100.0% [27] 1008(19.2%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:167:7 taylor-alt [35] 100.0% ---------------------------------------------------------------------- gen-rewrites! [22] 100.0% [28] 232(4.4%) 0(0.0%) for-loop ...tion-both-ends/src/mainloop.rkt:191:11 rewrite-expression-head24 [37] 100.0% ---------------------------------------------------------------------- choose-best-alt! [23] 100.0% [29] 224(4.3%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [38] 100.0% ---------------------------------------------------------------------- for-loop [24] 100.0% [30] 208(4.0%) 0(0.0%) pred ...ction-both-ends/src/core/regimes.rkt:204:4 errors [53] 100.0% ---------------------------------------------------------------------- option-on-expr [21] 100.0% [31] 200(3.8%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:263:0 loop [39] 100.0% ---------------------------------------------------------------------- option-on-expr [21] 100.0% [32] 198(3.8%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:135:4 errors [53] 100.0% ---------------------------------------------------------------------- ??? [26] 100.0% [33] 1576(30.1%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [40] 100.0% ---------------------------------------------------------------------- ??? [25] 100.0% [34] 1150(21.9%) 0(0.0%) for-loop ...-both-ends/src/core/alt-table.rkt:46:2 atab-add-altn [42] 78.6% errors [53] 21.4% ---------------------------------------------------------------------- for-loop [27] 100.0% [35] 1008(19.2%) 0(0.0%) taylor-alt ...ion-both-ends/src/mainloop.rkt:146:0 for-loop [41] 100.0% ---------------------------------------------------------------------- ??? [25] 100.0% [36] 448(8.5%) 448(8.5%) make-alt-table ...ends/src/core/alt-table.rkt:31:0 ---------------------------------------------------------------------- for-loop [28] 100.0% [37] 232(4.4%) 0(0.0%) rewrite-expression-head24 ...core/matcher.rkt:85:0 rewriter [43] 100.0% ---------------------------------------------------------------------- ...ow-val-first.rkt:486:18 [29] 100.0% [38] 224(4.3%) 0(0.0%) ??? ...ction-both-ends/src/core/alt-table.rkt:49:0 argmin [44] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [31] 100.0% [39] 200(3.8%) 0(0.0%) loop ...ction-both-ends/src/core/regimes.rkt:314:4 for-loop [45] 100.0% ---------------------------------------------------------------------- egraph-run [33] 100.0% [40] 1576(30.1%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [46] 100.0% ---------------------------------------------------------------------- taylor-alt [35] 100.0% [41] 1008(19.2%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:152:6 ??? [47] 100.0% ---------------------------------------------------------------------- for-loop [34] 100.0% [42] 904(17.2%) 0(0.0%) atab-add-altn ...ends/src/core/alt-table.rkt:194:0 errors [53] 75.7% do-curry [50] 24.3% ---------------------------------------------------------------------- rewrite-expression-head24 [37] 33.3% matcher [56] 66.7% [43] 232(4.4%) 0(0.0%) rewriter ...on-both-ends/src/core/matcher.rkt:87:2 for-loop [48] 100.0% ---------------------------------------------------------------------- ??? [38] 100.0% [44] 224(4.3%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [49] 100.0% ---------------------------------------------------------------------- loop [39] 100.0% [45] 200(3.8%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:279:4 for-loop [51] 100.0% ---------------------------------------------------------------------- egraph-add-exprs [40] 100.0% [46] 1576(30.1%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:102:6 for-loop [52] 100.0% ---------------------------------------------------------------------- location-do [54] 50.0% for-loop [41] 50.0% [47] 1008(19.2%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [54] 50.0% approximate9 [55] 50.0% ---------------------------------------------------------------------- rewriter [43] 100.0% [48] 232(4.4%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:89:4 matcher [56] 100.0% ---------------------------------------------------------------------- argmin [44] 100.0% [49] 224(4.3%) 0(0.0%) ??? ...detection-both-ends/src/mainloop.rkt:114:10 errors [53] 100.0% ---------------------------------------------------------------------- atab-add-altn [42] 100.0% [50] 220(4.2%) 220(4.2%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ---------------------------------------------------------------------- for-loop [45] 100.0% [51] 200(3.8%) 200(3.8%) for-loop ...n-both-ends/src/core/regimes.rkt:283:8 ---------------------------------------------------------------------- ??? [46] 100.0% [52] 1576(30.1%) 1576(30.1%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 ---------------------------------------------------------------------- for-loop [32] 12.7% pred [30] 13.3% ??? [49] 14.4% for-loop [34] 15.8% atab-add-altn [42] 43.8% [53] 1560(29.7%) 198(3.8%) errors ...detection-both-ends/src/points.rkt:203:0 for-loop [57] 61.0% eval-prog [60] 13.3% eval [68] 12.9% ---------------------------------------------------------------------- ??? [47] 44.9% location-do [54] 55.1% [54] 1008(19.2%) 0(0.0%) location-do ...ion-both-ends/src/programs.rkt:63:0 location-do [54] 55.1% ??? [47] 44.9% ---------------------------------------------------------------------- ??? [47] 100.0% [55] 1008(19.2%) 0(0.0%) approximate9 ...both-ends/src/core/taylor.rkt:11:0 for-loop [58] 75.4% debug-print [59] 24.6% ---------------------------------------------------------------------- for-loop [4] 40.0% for-loop [48] 60.0% [56] 232(4.4%) 232(4.4%) matcher ...on-both-ends/src/core/matcher.rkt:115:2 ??? [2] 40.0% rewriter [43] 40.0% ---------------------------------------------------------------------- errors [53] 100.0% [57] 952(18.2%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:205:2 .../more-scheme.rkt:261:28 [6] 100.0% ---------------------------------------------------------------------- approximate9 [55] 100.0% [58] 760(14.5%) 0(0.0%) for-loop ...on-both-ends/src/core/taylor.rkt:29:18 taylor-sqrt [63] 70.5% taylor [62] 29.5% ---------------------------------------------------------------------- approximate9 [55] 100.0% [59] 248(4.7%) 0(0.0%) debug-print ...ction-both-ends/src/debug.rkt:110:0 for-loop [61] 100.0% ---------------------------------------------------------------------- errors [53] 100.0% [60] 208(4.0%) 208(4.0%) eval-prog ...ction-both-ends/src/programs.rkt:82:0 ---------------------------------------------------------------------- debug-print [59] 100.0% [61] 248(4.7%) 248(4.7%) for-loop ...etection-both-ends/src/debug.rkt:116:2 ---------------------------------------------------------------------- for-loop [58] 100.0% [62] 224(4.3%) 0(0.0%) taylor ...tion-both-ends/src/core/taylor.rkt:169:0 taylor-sqrt [63] 100.0% ---------------------------------------------------------------------- taylor [62] 29.5% for-loop [58] 70.5% [63] 760(14.5%) 0(0.0%) taylor-sqrt ...both-ends/src/core/taylor.rkt:351:0 parse-loop74 [66] 69.7% first-nonzero-exp [64] 30.3% ---------------------------------------------------------------------- taylor-sqrt [63] 100.0% [64] 230(4.4%) 0(0.0%) first-nonzero-exp ...nds/src/core/taylor.rkt:265:0 hash-ref! [65] 100.0% ---------------------------------------------------------------------- first-nonzero-exp [64] 100.0% [65] 230(4.4%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 parse-loop74 [66] 100.0% ---------------------------------------------------------------------- parse-loop74 [66] 14.7% hash-ref! [65] 30.3% taylor-sqrt [63] 55.0% [66] 760(14.5%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [67] 85.3% parse-loop74 [66] 14.7% ---------------------------------------------------------------------- parse-loop74 [66] 100.0% [67] 760(14.5%) 0(0.0%) eval-const-expr ...oth-ends/src/programs.rkt:120:0 temp85_0 [69] 59.7% eval [68] 40.3% ---------------------------------------------------------------------- errors [53] 39.8% eval-const-expr [67] 60.2% [68] 508(9.7%) 0(0.0%) eval (unknown source) datum->syntax6 [71] 60.2% namespace-syntax-introduce3 [72] 39.8% ---------------------------------------------------------------------- eval-const-expr [67] 100.0% [69] 454(8.7%) 0(0.0%) temp85_0 (unknown source) compile15 [70] 100.0% ---------------------------------------------------------------------- temp85_0 [69] 100.0% [70] 454(8.7%) 0(0.0%) compile15 (unknown source) temp91_0 [73] 100.0% ---------------------------------------------------------------------- eval [68] 100.0% [71] 306(5.8%) 0(0.0%) datum->syntax6 (unknown source) loop [83] 100.0% ---------------------------------------------------------------------- eval [68] 100.0% [72] 202(3.9%) 0(0.0%) namespace-syntax-introduce3 (unknown source) free-identifier=? [74] 100.0% ---------------------------------------------------------------------- compile15 [70] 100.0% [73] 454(8.7%) 0(0.0%) temp91_0 (unknown source) temp118_0 [75] 100.0% ---------------------------------------------------------------------- namespace-syntax-introduce3 [72]100.0% [74] 202(3.9%) 0(0.0%) free-identifier=? (unknown source) resolve+shift28 [76] 100.0% ---------------------------------------------------------------------- temp91_0 [73] 100.0% [75] 454(8.7%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [77] 100.0% ---------------------------------------------------------------------- free-identifier=? [74] 100.0% [76] 202(3.9%) 202(3.9%) resolve+shift28 (unknown source) ---------------------------------------------------------------------- temp118_0 [75] 100.0% [77] 454(8.7%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [78] 100.0% ---------------------------------------------------------------------- expand-capturing-lifts [77] 100.0% [78] 454(8.7%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [79] 100.0% ---------------------------------------------------------------------- for-loop [80] 33.8% lambda-clause-expander [78] 66.2% [79] 454(8.7%) 0(0.0%) finish-bodys (unknown source) for-loop [80] 100.0% ---------------------------------------------------------------------- for-loop [80] 20.3% finish-bodys [79] 79.7% [80] 454(8.7%) 0(0.0%) for-loop (unknown source) loop [83] 49.3% finish-bodys [79] 20.3% for-loop [80] 20.3% dispatch-transformer41 [81] 10.1% ---------------------------------------------------------------------- for-loop [80] 100.0% [81] 230(4.4%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [82] 100.0% ---------------------------------------------------------------------- dispatch-transformer41 [81] 100.0% [82] 230(4.4%) 0(0.0%) apply-transformer52 (unknown source) loop [83] 100.0% ---------------------------------------------------------------------- datum->syntax6 [71] 2.5% for-loop [80] 29.5% apply-transformer52 [82] 30.3% loop [83] 37.7% [83] 760(14.5%) 530(10.1%) loop (unknown source) loop [83] 37.7% core-form-sym [84] 30.3% ---------------------------------------------------------------------- loop [83] 100.0% [84] 230(4.4%) 230(4.4%) core-form-sym (unknown source) ----------------------------------------------------------------------