Profiling results ----------------- Total cpu time observed: 3610ms (out of 3760ms) Number of samples taken: 21 (once every 172ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 3610(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [4] 100.0% -------------------------------------------------------------------- for-loop [83] 100.0% [2] 204(5.7%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [5] 100.0% -------------------------------------------------------------------- matcher [76] 100.0% [3] 182(5.0%) 0(0.0%) ??? ...ction-both-ends/src/core/matcher.rkt:129:11 for-loop [7] 50.0% for-loop [6] 50.0% -------------------------------------------------------------------- ??? [1] 100.0% [4] 3610(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% -------------------------------------------------------------------- dispatch-transformer41 [2] 100.0% [5] 204(5.7%) 0(0.0%) apply-transformer52 (unknown source) loop [9] 100.0% -------------------------------------------------------------------- ??? [3] 100.0% [6] 182(5.0%) 0(0.0%) for-loop ...n-both-ends/src/core/matcher.rkt:101:4 foldl [10] 100.0% -------------------------------------------------------------------- ??? [3] 100.0% [7] 182(5.0%) 0(0.0%) for-loop ...-both-ends/src/core/matcher.rkt:131:15 hash-ref! [73] 100.0% -------------------------------------------------------------------- profile-thunk16 [4] 100.0% [8] 3610(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [11]100.0% -------------------------------------------------------------------- apply-transformer52 [5] 100.0% [9] 204(5.7%) 0(0.0%) loop (unknown source) core-form-sym [12] 100.0% -------------------------------------------------------------------- for-loop [6] 100.0% [10] 182(5.0%) 0(0.0%) foldl ....5/collects/racket/private/list.rkt:229:4 ??? [13] 100.0% -------------------------------------------------------------------- for-loop [74] 9.2% run [8] 90.8% [11] 3610(100.0%) 152(4.2%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [14] 39.9% prepare-points-intervals [15] 39.1% errors [70] 6.3% get-final-combination [18] 5.5% ??? [16] 2.9% ??? [20] 2.1% ordinary-value? [21] 2.1% -------------------------------------------------------------------- loop [9] 100.0% [12] 204(5.7%) 0(0.0%) core-form-sym (unknown source) resolve+shift28 [17] 100.0% -------------------------------------------------------------------- foldl [10] 100.0% [13] 182(5.0%) 0(0.0%) ??? ...tection-both-ends/src/core/matcher.rkt:25:7 core457 [19] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [11]100.0% [14] 1544(42.8%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:365:0 for-loop [23] 89.4% simplify! [31] 10.6% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [11]100.0% [15] 1412(39.1%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:128:0 loop [22] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [11]100.0% [16] 210(5.8%) 210(5.8%) ??? ...tion-both-ends/src/syntax/syntax.rkt:214:17 -------------------------------------------------------------------- core-form-sym [12] 100.0% [17] 204(5.7%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [24] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [11]100.0% [18] 200(5.5%) 0(0.0%) get-final-combination ...ds/src/mainloop.rkt:390:0 infer-splitpoints [25] 100.0% -------------------------------------------------------------------- ??? [13] 100.0% [19] 182(5.0%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 or/c [26] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [11]100.0% [20] 152(4.2%) 152(4.2%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [11]100.0% [21] 150(4.2%) 150(4.2%) ordinary-value? ...on-both-ends/src/float.rkt:51:0 -------------------------------------------------------------------- prepare-points-intervals [15] 100.0% [22] 1412(39.1%) 170(4.7%) loop ...w-detection-both-ends/src/points.rkt:140:4 loop [28] 88.0% -------------------------------------------------------------------- run-improve47 [14] 100.0% [23] 1380(38.2%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:384:4 run-iter! [27] 100.0% -------------------------------------------------------------------- resolve+shift28 [17] 100.0% [24] 204(5.7%) 0(0.0%) fallback-loop (unknown source) for-loop [83] 100.0% -------------------------------------------------------------------- get-final-combination [18] 100.0% [25] 200(5.5%) 0(0.0%) infer-splitpoints ...nds/src/core/regimes.rkt:33:0 for-loop [29] 100.0% -------------------------------------------------------------------- core457 [19] 100.0% [26] 182(5.0%) 0(0.0%) or/c ...lects/racket/contract/private/orc.rkt:16:2 coerce-contracts [30] 100.0% -------------------------------------------------------------------- for-loop [23] 100.0% [27] 1380(38.2%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:346:0 simplify! [31] 42.9% gen-rewrites! [33] 27.1% finalize-iter! [34] 15.2% choose-best-alt! [35] 14.8% -------------------------------------------------------------------- loop [22] 100.0% [28] 1242(34.4%) 300(8.3%) loop ...ow-detection-both-ends/src/points.rkt:81:2 ??? [32] 51.7% ??? [40] 12.1% real->precision [37] 12.1% -------------------------------------------------------------------- infer-splitpoints [25] 100.0% [29] 200(5.5%) 0(0.0%) for-loop ...on-both-ends/src/core/regimes.rkt:45:6 option-on-expr [36] 100.0% -------------------------------------------------------------------- or/c [26] 100.0% [30] 182(5.0%) 182(5.0%) coerce-contracts ...ontract/private/guts.rkt:317:0 -------------------------------------------------------------------- run-improve47 [14] 21.7% run-iter! [27] 78.3% [31] 756(20.9%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [38] 100.0% -------------------------------------------------------------------- loop [28] 100.0% [32] 642(17.8%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sub [39] 76.3% ival-add [46] 23.7% -------------------------------------------------------------------- run-iter! [27] 100.0% [33] 374(10.4%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [44] 51.3% for-loop [45] 48.7% -------------------------------------------------------------------- run-iter! [27] 100.0% [34] 210(5.8%) 0(0.0%) finalize-iter! ...both-ends/src/mainloop.rkt:278:0 ??? [41] 100.0% -------------------------------------------------------------------- run-iter! [27] 100.0% [35] 204(5.7%) 0(0.0%) choose-best-alt! ...th-ends/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [42]100.0% -------------------------------------------------------------------- for-loop [29] 100.0% [36] 200(5.5%) 0(0.0%) option-on-expr ...-ends/src/core/regimes.rkt:124:0 sort-context-on-expr [43] 100.0% -------------------------------------------------------------------- loop [28] 100.0% [37] 150(4.2%) 0(0.0%) real->precision ...th-ends/src/programs.rkt:118:11 ??? [40] 100.0% -------------------------------------------------------------------- simplify! [31] 100.0% [38] 756(20.9%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [47] 100.0% -------------------------------------------------------------------- ??? [32] 100.0% [39] 490(13.6%) 0(0.0%) ival-sub ...on-both-ends/src/biginterval.rkt:193:0 eplinear [48] 100.0% -------------------------------------------------------------------- real->precision [37] 50.0% loop [28] 50.0% [40] 300(8.3%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [54] 50.0% bf [55] 50.0% -------------------------------------------------------------------- finalize-iter! [34] 100.0% [41] 210(5.8%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [49] 100.0% -------------------------------------------------------------------- choose-best-alt! [35] 100.0% [42] 204(5.7%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [50] 100.0% -------------------------------------------------------------------- option-on-expr [36] 100.0% [43] 200(5.5%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:117:0 ??? [51] 100.0% -------------------------------------------------------------------- gen-rewrites! [33] 100.0% [44] 192(5.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:208:4 for-loop [52] 100.0% -------------------------------------------------------------------- gen-rewrites! [33] 100.0% [45] 182(5.0%) 0(0.0%) for-loop ...tion-both-ends/src/mainloop.rkt:191:11 rewrite-expression-head23 [53] 100.0% -------------------------------------------------------------------- ??? [32] 100.0% [46] 152(4.2%) 152(4.2%) ival-add ...on-both-ends/src/biginterval.rkt:186:0 -------------------------------------------------------------------- ??? [38] 100.0% [47] 756(20.9%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [56] 100.0% -------------------------------------------------------------------- ival-sub [39] 100.0% [48] 490(13.6%) 152(4.2%) eplinear ...on-both-ends/src/biginterval.rkt:180:0 bfsub [57] 69.0% -------------------------------------------------------------------- ??? [41] 100.0% [49] 210(5.8%) 0(0.0%) for-loop ...both-ends/src/core/alt-table.rkt:201:2 atab-add-altn [58] 100.0% -------------------------------------------------------------------- ...ow-val-first.rkt:486:18 [42]100.0% [50] 204(5.7%) 0(0.0%) ??? ...ction-both-ends/src/core/alt-table.rkt:41:0 argmin [59] 100.0% -------------------------------------------------------------------- sort-context-on-expr [43] 100.0% [51] 200(5.5%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [60] 100.0% -------------------------------------------------------------------- for-loop [44] 100.0% [52] 192(5.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:209:6 change-apply [61] 100.0% -------------------------------------------------------------------- for-loop [45] 100.0% [53] 182(5.0%) 0(0.0%) rewrite-expression-head23 ...core/matcher.rkt:83:0 rewriter [62] 100.0% -------------------------------------------------------------------- ??? [40] 100.0% [54] 150(4.2%) 150(4.2%) ival-mult ...n-both-ends/src/biginterval.rkt:210:0 -------------------------------------------------------------------- ??? [40] 100.0% [55] 150(4.2%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [63] 100.0% -------------------------------------------------------------------- egraph-run [47] 100.0% [56] 756(20.9%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [64] 100.0% -------------------------------------------------------------------- eplinear [48] 100.0% [57] 338(9.4%) 0(0.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [65] 100.0% -------------------------------------------------------------------- for-loop [49] 100.0% [58] 210(5.8%) 0(0.0%) atab-add-altn ...ends/src/core/alt-table.rkt:204:0 errors [70] 100.0% -------------------------------------------------------------------- ??? [50] 100.0% [59] 204(5.7%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [66] 100.0% -------------------------------------------------------------------- ??? [51] 100.0% [60] 200(5.5%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [67] 100.0% -------------------------------------------------------------------- for-loop [52] 100.0% [61] 192(5.3%) 0(0.0%) change-apply ...oth-ends/src/core/matcher.rkt:69:0 pattern-substitute [68] 100.0% -------------------------------------------------------------------- matcher [76] 50.0% rewrite-expression-head23 [53] 50.0% [62] 182(5.0%) 0(0.0%) rewriter ...on-both-ends/src/core/matcher.rkt:85:2 for-loop [69] 100.0% -------------------------------------------------------------------- bf [55] 100.0% [63] 150(4.2%) 150(4.2%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 -------------------------------------------------------------------- egraph-add-exprs [56] 100.0% [64] 756(20.9%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:103:6 for-loop [71] 100.0% -------------------------------------------------------------------- bfsub [57] 100.0% [65] 338(9.4%) 338(9.4%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 -------------------------------------------------------------------- argmin [59] 100.0% [66] 204(5.7%) 0(0.0%) ??? ...detection-both-ends/src/mainloop.rkt:114:10 errors [70] 100.0% -------------------------------------------------------------------- generic-sort/key [60] 25.0% copying-mergesort [67] 75.0% [67] 200(5.5%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [67] 75.0% jloop [72] 25.0% -------------------------------------------------------------------- pattern-substitute [68] 50.0% change-apply [61] 50.0% [68] 192(5.3%) 192(5.3%) pattern-substitute ...ds/src/core/matcher.rkt:45:0 pattern-substitute [68] 50.0% -------------------------------------------------------------------- rewriter [62] 100.0% [69] 182(5.0%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:87:4 hash-ref! [73] 100.0% -------------------------------------------------------------------- ??? [66] 23.5% atab-add-altn [58] 24.2% .../more-scheme.rkt:261:28 [11] 52.3% [70] 868(24.0%) 0(0.0%) errors ...detection-both-ends/src/points.rkt:198:0 for-loop [74] 76.5% temp85_0 [75] 23.5% -------------------------------------------------------------------- ??? [64] 100.0% [71] 756(20.9%) 756(20.9%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 -------------------------------------------------------------------- copying-mergesort [67] 100.0% [72] 200(5.5%) 200(5.5%) jloop ...5/collects/racket/private/sort.rkt:120:23 -------------------------------------------------------------------- for-loop [7] 33.3% for-loop [69] 66.7% [73] 182(5.0%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 matcher [76] 100.0% -------------------------------------------------------------------- errors [70] 100.0% [74] 664(18.4%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:200:2 .../more-scheme.rkt:261:28 [11]100.0% -------------------------------------------------------------------- errors [70] 100.0% [75] 204(5.7%) 0(0.0%) temp85_0 (unknown source) compile15 [77] 100.0% -------------------------------------------------------------------- hash-ref! [73] 100.0% [76] 182(5.0%) 0(0.0%) matcher ...on-both-ends/src/core/matcher.rkt:117:2 ??? [3] 66.7% rewriter [62] 33.3% -------------------------------------------------------------------- temp85_0 [75] 100.0% [77] 204(5.7%) 0(0.0%) compile15 (unknown source) temp91_0 [78] 100.0% -------------------------------------------------------------------- compile15 [77] 100.0% [78] 204(5.7%) 0(0.0%) temp91_0 (unknown source) temp118_0 [79] 100.0% -------------------------------------------------------------------- temp91_0 [78] 100.0% [79] 204(5.7%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [80] 100.0% -------------------------------------------------------------------- temp118_0 [79] 100.0% [80] 204(5.7%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [81] 100.0% -------------------------------------------------------------------- expand-capturing-lifts [80] 100.0% [81] 204(5.7%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [82] 100.0% -------------------------------------------------------------------- for-loop [83] 50.0% lambda-clause-expander [81] 50.0% [82] 204(5.7%) 0(0.0%) finish-bodys (unknown source) for-loop [83] 100.0% -------------------------------------------------------------------- fallback-loop [24] 25.0% for-loop [83] 25.0% finish-bodys [82] 50.0% [83] 204(5.7%) 204(5.7%) for-loop (unknown source) finish-bodys [82] 25.0% for-loop [83] 25.0% dispatch-transformer41 [2] 25.0% --------------------------------------------------------------------