Profiling results ----------------- Total cpu time observed: 5860ms (out of 5984ms) Number of samples taken: 28 (once every 209ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== [1] 5860(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [3] 100.0% ---------------------------------------------------------------------- matcher [55] 100.0% [2] 462(7.9%) 0(0.0%) ??? ...ction-both-ends/src/core/matcher.rkt:127:11 for-loop [4] 100.0% ---------------------------------------------------------------------- ??? [1] 100.0% [3] 5860(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- ??? [2] 100.0% [4] 462(7.9%) 0(0.0%) for-loop ...-both-ends/src/core/matcher.rkt:129:15 matcher [55] 100.0% ---------------------------------------------------------------------- profile-thunk16 [3] 100.0% [5] 5860(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 [53] 3.4% run [5] 96.6% [6] 5860(100.0%) 204(3.5%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [7] 58.5% run-improve47 [8] 27.8% errors [47] 3.4% eval-errors [9] 3.4% get-final-combination [10] 3.4% ??? [46] 1.7% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [7] 3426(58.5%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:133:0 loop [11] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [8] 1630(27.8%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:346:0 for-loop [12] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [9] 200(3.4%) 0(0.0%) eval-errors ...tion-both-ends/src/points.rkt:181:0 for-loop [13] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [10] 200(3.4%) 0(0.0%) get-final-combination ...ds/src/mainloop.rkt:371:0 infer-splitpoints [14] 100.0% ---------------------------------------------------------------------- prepare-points-intervals [7] 100.0% [11] 3426(58.5%) 0(0.0%) loop ...w-detection-both-ends/src/points.rkt:145:4 loop [15] 76.5% ??? [17] 23.5% ---------------------------------------------------------------------- run-improve47 [8] 100.0% [12] 1630(27.8%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:365:4 run-iter! [16] 100.0% ---------------------------------------------------------------------- eval-errors [9] 100.0% [13] 200(3.4%) 200(3.4%) for-loop ...tection-both-ends/src/points.rkt:183:2 ---------------------------------------------------------------------- get-final-combination [10] 100.0% [14] 200(3.4%) 0(0.0%) infer-splitpoints ...nds/src/core/regimes.rkt:33:0 for-loop [18] 100.0% ---------------------------------------------------------------------- loop [11] 100.0% [15] 2622(44.7%) 0(0.0%) loop ...ow-detection-both-ends/src/points.rkt:81:2 ??? [46] 45.8% ??? [19] 38.9% real->precision [26] 7.6% ??? [30] 7.6% ---------------------------------------------------------------------- for-loop [12] 100.0% [16] 1630(27.8%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:327:0 simplify! [20] 31.9% gen-rewrites! [21] 28.3% gen-series! [22] 26.0% finalize-iter! [24] 13.7% ---------------------------------------------------------------------- loop [11] 100.0% [17] 804(13.7%) 200(3.4%) ??? ...ow-detection-both-ends/src/points.rkt:126:6 sample-multi-bounded [23] 50.0% loop [85] 25.1% ---------------------------------------------------------------------- infer-splitpoints [14] 100.0% [18] 200(3.4%) 0(0.0%) for-loop ...on-both-ends/src/core/regimes.rkt:45:6 option-on-expr [25] 100.0% ---------------------------------------------------------------------- loop [15] 100.0% [19] 1020(17.4%) 206(3.5%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-add [27] 79.8% ---------------------------------------------------------------------- run-iter! [16] 100.0% [20] 520(8.9%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [28] 100.0% ---------------------------------------------------------------------- run-iter! [16] 100.0% [21] 462(7.9%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [29] 100.0% ---------------------------------------------------------------------- run-iter! [16] 100.0% [22] 424(7.2%) 0(0.0%) gen-series! ...on-both-ends/src/mainloop.rkt:160:0 for-loop [31] 100.0% ---------------------------------------------------------------------- ??? [17] 100.0% [23] 402(6.9%) 0(0.0%) sample-multi-bounded ...h-ends/src/points.rkt:14:0 random-ranges [32] 100.0% ---------------------------------------------------------------------- run-iter! [16] 100.0% [24] 224(3.8%) 0(0.0%) finalize-iter! ...both-ends/src/mainloop.rkt:278:0 ??? [30] 100.0% ---------------------------------------------------------------------- for-loop [18] 100.0% [25] 200(3.4%) 0(0.0%) option-on-expr ...-ends/src/core/regimes.rkt:124:0 sort-context-on-expr [33] 100.0% ---------------------------------------------------------------------- loop [15] 100.0% [26] 200(3.4%) 0(0.0%) real->precision ...oth-ends/src/programs.rkt:94:11 ??? [46] 100.0% ---------------------------------------------------------------------- ??? [19] 100.0% [27] 814(13.9%) 0(0.0%) ival-add ...on-both-ends/src/biginterval.rkt:202:0 e-compute7 [60] 100.0% ---------------------------------------------------------------------- simplify! [20] 100.0% [28] 520(8.9%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [34] 100.0% ---------------------------------------------------------------------- gen-rewrites! [21] 100.0% [29] 462(7.9%) 0(0.0%) for-loop ...tion-both-ends/src/mainloop.rkt:191:11 rewrite-expression-head24 [35] 100.0% ---------------------------------------------------------------------- loop [15] 47.2% finalize-iter! [24] 52.8% [30] 424(7.2%) 200(3.4%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [37] 52.8% ---------------------------------------------------------------------- gen-series! [22] 100.0% [31] 424(7.2%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:167:7 taylor-alt [36] 100.0% ---------------------------------------------------------------------- sample-multi-bounded [23] 100.0% [32] 402(6.9%) 202(3.4%) random-ranges ...on-both-ends/src/common.rkt:164:0 cons/c [38] 49.8% ---------------------------------------------------------------------- option-on-expr [25] 100.0% [33] 200(3.4%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:117:0 ??? [39] 100.0% ---------------------------------------------------------------------- ??? [28] 100.0% [34] 520(8.9%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [40] 100.0% ---------------------------------------------------------------------- for-loop [29] 100.0% [35] 462(7.9%) 0(0.0%) rewrite-expression-head24 ...core/matcher.rkt:85:0 rewriter [41] 100.0% ---------------------------------------------------------------------- for-loop [31] 100.0% [36] 424(7.2%) 0(0.0%) taylor-alt ...ion-both-ends/src/mainloop.rkt:146:0 for-loop [42] 100.0% ---------------------------------------------------------------------- ??? [30] 100.0% [37] 224(3.8%) 0(0.0%) for-loop ...-both-ends/src/core/alt-table.rkt:46:2 atab-add-altn [43] 100.0% ---------------------------------------------------------------------- random-ranges [32] 100.0% [38] 200(3.4%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [44] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [33] 100.0% [39] 200(3.4%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [45] 100.0% ---------------------------------------------------------------------- egraph-run [34] 100.0% [40] 520(8.9%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [48] 100.0% ---------------------------------------------------------------------- rewrite-expression-head24 [35] 20.0% matcher [55] 80.0% [41] 462(7.9%) 0(0.0%) rewriter ...on-both-ends/src/core/matcher.rkt:87:2 for-loop [49] 100.0% ---------------------------------------------------------------------- taylor-alt [36] 100.0% [42] 424(7.2%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:152:6 ??? [46] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [43] 224(3.8%) 0(0.0%) atab-add-altn ...ends/src/core/alt-table.rkt:194:0 errors [47] 100.0% ---------------------------------------------------------------------- cons/c [38] 100.0% [44] 200(3.4%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [50] 100.0% ---------------------------------------------------------------------- ??? [39] 100.0% [45] 200(3.4%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [51] 100.0% ---------------------------------------------------------------------- real->precision [26] 9.9% .../more-scheme.rkt:261:28 [6] 9.9% location-do [56] 10.5% for-loop [42] 10.5% loop [15] 59.3% [46] 2026(34.6%) 400(6.8%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [52] 59.3% location-do [56] 10.5% approximate9 [57] 10.5% ---------------------------------------------------------------------- atab-add-altn [43] 35.7% .../more-scheme.rkt:261:28 [6] 64.3% [47] 628(10.7%) 0(0.0%) errors ...detection-both-ends/src/points.rkt:203:0 for-loop [53] 100.0% ---------------------------------------------------------------------- egraph-add-exprs [40] 100.0% [48] 520(8.9%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:102:6 for-loop [54] 100.0% ---------------------------------------------------------------------- rewriter [41] 100.0% [49] 462(7.9%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:89:4 matcher [55] 100.0% ---------------------------------------------------------------------- coerce-contract [44] 100.0% [50] 200(3.4%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [58] 100.0% ---------------------------------------------------------------------- generic-sort/key [45] 33.3% copying-mergesort [51] 66.7% [51] 200(3.4%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [51] 66.7% loop [59] 33.3% ---------------------------------------------------------------------- ??? [46] 100.0% [52] 1202(20.5%) 400(6.8%) ival-mult ...n-both-ends/src/biginterval.rkt:225:0 e-compute7 [60] 66.7% ---------------------------------------------------------------------- errors [47] 100.0% [53] 628(10.7%) 224(3.8%) for-loop ...tection-both-ends/src/points.rkt:205:2 .../more-scheme.rkt:261:28 [6] 64.3% ---------------------------------------------------------------------- ??? [48] 100.0% [54] 520(8.9%) 520(8.9%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 ---------------------------------------------------------------------- for-loop [4] 44.4% for-loop [49] 55.6% [55] 462(7.9%) 0(0.0%) matcher ...on-both-ends/src/core/matcher.rkt:115:2 ??? [2] 44.4% rewriter [41] 44.4% variable? [62] 5.9% constant? [63] 5.2% ---------------------------------------------------------------------- ??? [46] 100.0% [56] 424(7.2%) 0(0.0%) location-do ...ion-both-ends/src/programs.rkt:63:0 ??? [46] 100.0% ---------------------------------------------------------------------- ??? [46] 100.0% [57] 424(7.2%) 0(0.0%) approximate9 ...both-ends/src/core/taylor.rkt:11:0 for-loop [61] 100.0% ---------------------------------------------------------------------- coerce-contract/f [50] 100.0% [58] 200(3.4%) 200(3.4%) coerce-simple-value ...ract/private/guts.rkt:385:0 ---------------------------------------------------------------------- copying-mergesort [51] 100.0% [59] 200(3.4%) 0(0.0%) loop ...7.5/collects/racket/private/sort.rkt:96:12 ??? [64] 100.0% ---------------------------------------------------------------------- ival-mult [52] 49.6% ival-add [27] 50.4% [60] 1616(27.6%) 402(6.9%) e-compute7 ...-both-ends/src/biginterval.rkt:149:0 strong-immovable-endpoint-0? [65] 37.3% strong-immovable-endpoint? [67] 25.5% bfmul [69] 12.4% ---------------------------------------------------------------------- approximate9 [57] 100.0% [61] 424(7.2%) 0(0.0%) for-loop ...on-both-ends/src/core/taylor.rkt:29:18 taylor [66] 100.0% ---------------------------------------------------------------------- matcher [55] 100.0% [62] 244(4.2%) 0(0.0%) variable? ...both-ends/src/syntax/syntax.rkt:729:0 value? [68] 100.0% ---------------------------------------------------------------------- matcher [55] 100.0% [63] 218(3.7%) 218(3.7%) constant? ...both-ends/src/syntax/syntax.rkt:726:0 ---------------------------------------------------------------------- loop [59] 100.0% [64] 200(3.4%) 200(3.4%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 ---------------------------------------------------------------------- e-compute7 [60] 100.0% [65] 602(10.3%) 602(10.3%) strong-immovable-endpoint-0? ...interval.rkt:116:0 ---------------------------------------------------------------------- map [70] 26.4% for-loop [61] 73.6% [66] 424(7.2%) 224(3.8%) taylor ...tion-both-ends/src/core/taylor.rkt:169:0 taylor-quotient [72] 47.2% map [70] 26.4% ---------------------------------------------------------------------- e-compute7 [60] 100.0% [67] 412(7.0%) 412(7.0%) strong-immovable-endpoint? ...iginterval.rkt:106:0 ---------------------------------------------------------------------- variable? [62] 100.0% [68] 244(4.2%) 244(4.2%) value? ...tion-both-ends/src/syntax/types.rkt:18:0 ---------------------------------------------------------------------- e-compute7 [60] 100.0% [69] 200(3.4%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [71] 100.0% ---------------------------------------------------------------------- taylor [66] 100.0% [70] 224(3.8%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 taylor [66] 100.0% ---------------------------------------------------------------------- bfmul [69] 100.0% [71] 200(3.4%) 200(3.4%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ---------------------------------------------------------------------- taylor [66] 100.0% [72] 200(3.4%) 0(0.0%) taylor-quotient ...-ends/src/core/taylor.rkt:333:0 first-nonzero-exp [73] 100.0% ---------------------------------------------------------------------- taylor-quotient [72] 100.0% [73] 200(3.4%) 0(0.0%) first-nonzero-exp ...nds/src/core/taylor.rkt:265:0 hash-ref! [74] 100.0% ---------------------------------------------------------------------- first-nonzero-exp [73] 100.0% [74] 200(3.4%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [75] 100.0% ---------------------------------------------------------------------- hash-ref! [74] 100.0% [75] 200(3.4%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:290:26 for-loop [76] 100.0% ---------------------------------------------------------------------- ??? [75] 100.0% [76] 200(3.4%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:290:52 f61 [77] 100.0% ---------------------------------------------------------------------- for-loop [76] 100.0% [77] 200(3.4%) 0(0.0%) f61 (unknown source) eval-const-expr [78] 100.0% ---------------------------------------------------------------------- f61 [77] 100.0% [78] 200(3.4%) 0(0.0%) eval-const-expr ...oth-ends/src/programs.rkt:120:0 temp85_0 [79] 100.0% ---------------------------------------------------------------------- eval-const-expr [78] 100.0% [79] 200(3.4%) 0(0.0%) temp85_0 (unknown source) compile15 [80] 100.0% ---------------------------------------------------------------------- temp85_0 [79] 100.0% [80] 200(3.4%) 0(0.0%) compile15 (unknown source) temp91_0 [81] 100.0% ---------------------------------------------------------------------- compile15 [80] 100.0% [81] 200(3.4%) 0(0.0%) temp91_0 (unknown source) temp118_0 [82] 100.0% ---------------------------------------------------------------------- temp91_0 [81] 100.0% [82] 200(3.4%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [83] 100.0% ---------------------------------------------------------------------- temp118_0 [82] 100.0% [83] 200(3.4%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [84] 100.0% ---------------------------------------------------------------------- expand-capturing-lifts [83] 100.0% [84] 200(3.4%) 0(0.0%) lambda-clause-expander (unknown source) loop [85] 100.0% ---------------------------------------------------------------------- lambda-clause-expander [84] 49.8% ??? [17] 50.2% [85] 402(6.9%) 202(3.4%) loop (unknown source) expand-id-application-form17 [86] 49.8% ---------------------------------------------------------------------- loop [85] 100.0% [86] 200(3.4%) 0(0.0%) expand-id-application-form17 (unknown source) resolve+shift28 [87] 100.0% ---------------------------------------------------------------------- expand-id-application-form17 [86]100.0% [87] 200(3.4%) 200(3.4%) resolve+shift28 (unknown source) ----------------------------------------------------------------------