Profiling results ----------------- Total cpu time observed: 5504ms (out of 5660ms) Number of samples taken: 25 (once every 220ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= [1] 5504(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [3] 100.0% ----------------------------------------------------------------------- matcher [54] 100.0% [2] 496(9.0%) 0(0.0%) ??? ...bie/egg-cleanup/src/core/matcher.rkt:130:11 for-loop [4] 100.0% ----------------------------------------------------------------------- ??? [1] 100.0% [3] 5504(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ----------------------------------------------------------------------- ??? [2] 100.0% [4] 496(9.0%) 0(0.0%) for-loop ...gg-cleanup/src/core/matcher.rkt:132:15 matcher [54] 100.0% ----------------------------------------------------------------------- profile-thunk16 [3] 100.0% [5] 5504(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 [55] 3.8% run [5] 96.2% [6] 5504(100.0%) 422(7.7%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [7] 58.7% prepare-points-intervals [8] 26.3% oracle-error [9] 7.6% get-final-combination [10] 3.7% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [7] 3440(62.5%) 0(0.0%) run-improve47 ...gg-cleanup/src/mainloop.rkt:346:0 for-loop [11] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [8] 1446(26.3%) 0(0.0%) prepare-points-intervals ...p/src/points.rkt:110:0 loop [12] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [9] 416(7.6%) 0(0.0%) oracle-error ...e/egg-cleanup/src/points.rkt:188:0 for-loop [13] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [10] 202(3.7%) 0(0.0%) get-final-combination ...up/src/mainloop.rkt:371:0 infer-splitpoints [14] 100.0% ----------------------------------------------------------------------- run-improve47 [7] 100.0% [11] 3440(62.5%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:365:4 run-iter! [15] 100.0% ----------------------------------------------------------------------- prepare-points-intervals [8] 100.0% [12] 1446(26.3%) 0(0.0%) loop ...es/herbie/egg-cleanup/src/points.rkt:123:4 loop [16] 44.7% ??? [17] 41.5% do-curry [20] 13.8% ----------------------------------------------------------------------- oracle-error [9] 100.0% [13] 416(7.6%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:189:2 loop [18] 100.0% ----------------------------------------------------------------------- get-final-combination [10] 100.0% [14] 202(3.7%) 0(0.0%) infer-splitpoints ...nup/src/core/regimes.rkt:34:0 for-loop [19] 100.0% ----------------------------------------------------------------------- for-loop [11] 100.0% [15] 3440(62.5%) 0(0.0%) run-iter! ...ie/egg-cleanup/src/mainloop.rkt:327:0 simplify! [21] 48.5% finalize-iter! [22] 31.0% gen-rewrites! [23] 20.5% ----------------------------------------------------------------------- loop [12] 100.0% [16] 646(11.7%) 224(4.1%) loop ...ies/herbie/egg-cleanup/src/points.rkt:81:2 ??? [28] 65.3% ----------------------------------------------------------------------- loop [12] 100.0% [17] 600(10.9%) 200(3.6%) ??? ...ies/herbie/egg-cleanup/src/points.rkt:106:2 ??? [34] 66.7% ----------------------------------------------------------------------- for-loop [13] 100.0% [18] 416(7.6%) 0(0.0%) loop (unknown source) ??? [24] 100.0% ----------------------------------------------------------------------- infer-splitpoints [14] 100.0% [19] 202(3.7%) 0(0.0%) for-loop .../egg-cleanup/src/core/regimes.rkt:47:6 option-on-expr [25] 100.0% ----------------------------------------------------------------------- loop [12] 100.0% [20] 200(3.6%) 200(3.6%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ----------------------------------------------------------------------- run-iter! [15] 100.0% [21] 1668(30.3%) 0(0.0%) simplify! ...ie/egg-cleanup/src/mainloop.rkt:224:0 ??? [26] 100.0% ----------------------------------------------------------------------- run-iter! [15] 100.0% [22] 1068(19.4%) 0(0.0%) finalize-iter! ...g-cleanup/src/mainloop.rkt:278:0 ??? [27] 100.0% ----------------------------------------------------------------------- run-iter! [15] 100.0% [23] 704(12.8%) 0(0.0%) gen-rewrites! ...gg-cleanup/src/mainloop.rkt:183:0 for-loop [29] 70.5% for-loop [30] 29.5% ----------------------------------------------------------------------- loop [18] 100.0% [24] 416(7.6%) 0(0.0%) ??? ...es/herbie/egg-cleanup/src/points.rkt:190:26 ??? [28] 100.0% ----------------------------------------------------------------------- for-loop [19] 100.0% [25] 202(3.7%) 0(0.0%) option-on-expr ...eanup/src/core/regimes.rkt:126:0 sort-context-on-expr [31] 100.0% ----------------------------------------------------------------------- simplify! [21] 100.0% [26] 1668(30.3%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:35:0 egraph-run [32] 100.0% ----------------------------------------------------------------------- finalize-iter! [22] 100.0% [27] 1068(19.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [33] 100.0% ----------------------------------------------------------------------- ??? [24] 49.6% loop [16] 50.4% [28] 838(15.2%) 0(0.0%) ??? ...s/herbie/egg-cleanup/src/programs.rkt:115:2 ??? [34] 75.2% ??? [36] 24.8% ----------------------------------------------------------------------- gen-rewrites! [23] 100.0% [29] 496(9.0%) 0(0.0%) for-loop ...ie/egg-cleanup/src/mainloop.rkt:191:11 rewrite-expression-head20 [35] 100.0% ----------------------------------------------------------------------- gen-rewrites! [23] 100.0% [30] 208(3.8%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:208:4 for-loop [37] 100.0% ----------------------------------------------------------------------- option-on-expr [25] 100.0% [31] 202(3.7%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:119:0 ??? [38] 100.0% ----------------------------------------------------------------------- ??? [26] 100.0% [32] 1668(30.3%) 0(0.0%) egraph-run ...gg-cleanup/src/core/eggmath.rkt:51:0 egraph-add-exprs [39] 100.0% ----------------------------------------------------------------------- ??? [27] 100.0% [33] 1068(19.4%) 0(0.0%) for-loop ...gg-cleanup/src/core/alt-table.rkt:55:2 atab-add-altn [40] 79.0% loop [44] 21.0% ----------------------------------------------------------------------- ??? [17] 38.8% ??? [28] 61.2% [34] 1030(18.7%) 208(3.8%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [42] 41.0% sample-multi-bounded [43] 38.8% ----------------------------------------------------------------------- for-loop [29] 100.0% [35] 496(9.0%) 0(0.0%) rewrite-expression-head20 ...core/matcher.rkt:87:0 rewriter [41] 100.0% ----------------------------------------------------------------------- ??? [28] 100.0% [36] 208(3.8%) 208(3.8%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 ----------------------------------------------------------------------- for-loop [30] 100.0% [37] 208(3.8%) 0(0.0%) for-loop ...bie/egg-cleanup/src/mainloop.rkt:209:6 change-apply [45] 100.0% ----------------------------------------------------------------------- sort-context-on-expr [31] 100.0% [38] 202(3.7%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [46] 100.0% ----------------------------------------------------------------------- egraph-run [32] 100.0% [39] 1668(30.3%) 0(0.0%) egraph-add-exprs ...nup/src/core/eggmath.rkt:111:0 ??? [47] 100.0% ----------------------------------------------------------------------- for-loop [33] 100.0% [40] 844(15.3%) 0(0.0%) atab-add-altn ...anup/src/core/alt-table.rkt:203:0 errors [48] 76.3% override-at-pnts [52] 23.7% ----------------------------------------------------------------------- rewrite-expression-head20 [35] 41.1% matcher [54] 58.9% [41] 496(9.0%) 232(4.2%) rewriter .../egg-cleanup/src/core/matcher.rkt:90:2 for-loop [49] 76.6% ----------------------------------------------------------------------- ??? [34] 100.0% [42] 422(7.7%) 422(7.7%) ival-mult ...egg-cleanup/src/biginterval.rkt:119:0 ----------------------------------------------------------------------- ??? [34] 100.0% [43] 400(7.3%) 0(0.0%) sample-multi-bounded ...leanup/src/points.rkt:15:0 random-ranges [50] 100.0% ----------------------------------------------------------------------- for-loop [33] 100.0% [44] 224(4.1%) 224(4.1%) loop ...e/egg-cleanup/src/core/alt-table.rkt:177:2 ----------------------------------------------------------------------- for-loop [37] 100.0% [45] 208(3.8%) 0(0.0%) change-apply ...-cleanup/src/core/matcher.rkt:70:0 pattern-substitute [64] 100.0% ----------------------------------------------------------------------- ??? [38] 100.0% [46] 202(3.7%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [51] 100.0% ----------------------------------------------------------------------- egraph-add-exprs [39] 100.0% [47] 1668(30.3%) 0(0.0%) ??? ...rbie/egg-cleanup/src/core/simplify.rkt:93:6 for-loop [53] 100.0% ----------------------------------------------------------------------- atab-add-altn [40] 100.0% [48] 644(11.7%) 0(0.0%) errors .../herbie/egg-cleanup/src/points.rkt:201:0 for-loop [55] 65.5% eval-prog [58] 34.5% ----------------------------------------------------------------------- rewriter [41] 100.0% [49] 496(9.0%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:92:4 matcher [54] 82.3% for-loop [57] 17.7% ----------------------------------------------------------------------- sample-multi-bounded [43] 100.0% [50] 400(7.3%) 0(0.0%) random-ranges .../egg-cleanup/src/common.rkt:171:0 cons/c [56] 100.0% ----------------------------------------------------------------------- generic-sort/key [46] 100.0% [51] 202(3.7%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 loop [59] 100.0% ----------------------------------------------------------------------- atab-add-altn [40] 100.0% [52] 200(3.6%) 0(0.0%) override-at-pnts ...p/src/core/alt-table.rkt:138:0 for-loop [60] 100.0% ----------------------------------------------------------------------- ??? [47] 100.0% [53] 1668(30.3%) 1668(30.3%) for-loop ...gg-cleanup/src/core/simplify.rkt:112:2 ----------------------------------------------------------------------- for-loop [4] 50.0% for-loop [49] 50.0% [54] 496(9.0%) 0(0.0%) matcher .../egg-cleanup/src/core/matcher.rkt:118:2 ??? [2] 50.0% rewriter [41] 50.0% ----------------------------------------------------------------------- errors [48] 100.0% [55] 422(7.7%) 0(0.0%) for-loop ...erbie/egg-cleanup/src/points.rkt:203:2 .../more-scheme.rkt:261:28 [6] 100.0% ----------------------------------------------------------------------- random-ranges [50] 100.0% [56] 400(7.3%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [61] 100.0% ----------------------------------------------------------------------- for-loop [49] 100.0% [57] 264(4.8%) 0(0.0%) for-loop .../egg-cleanup/src/core/matcher.rkt:99:8 fix-up-variables [62] 100.0% ----------------------------------------------------------------------- errors [48] 100.0% [58] 222(4.0%) 0(0.0%) eval-prog ...bie/egg-cleanup/src/programs.rkt:83:0 temp85_0 [63] 100.0% ----------------------------------------------------------------------- copying-mergesort [51] 100.0% [59] 202(3.7%) 202(3.7%) loop ...7.5/collects/racket/private/sort.rkt:96:12 ----------------------------------------------------------------------- override-at-pnts [52] 100.0% [60] 200(3.6%) 200(3.6%) for-loop ...-cleanup/src/core/alt-table.rkt:139:22 ----------------------------------------------------------------------- cons/c [56] 100.0% [61] 400(7.3%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [65] 100.0% ----------------------------------------------------------------------- for-loop [57] 100.0% [62] 264(4.8%) 0(0.0%) fix-up-variables ...nup/src/core/matcher.rkt:111:2 pattern-substitute [64] 100.0% ----------------------------------------------------------------------- eval-prog [58] 100.0% [63] 222(4.0%) 0(0.0%) temp85_0 (unknown source) compile15 [66] 100.0% ----------------------------------------------------------------------- fix-up-variables [62] 18.6% pattern-substitute [64] 37.3% change-apply [45] 44.1% [64] 472(8.6%) 472(8.6%) pattern-substitute ...up/src/core/matcher.rkt:46:0 pattern-substitute [64] 37.3% ----------------------------------------------------------------------- coerce-contract [61] 100.0% [65] 400(7.3%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [67] 100.0% ----------------------------------------------------------------------- temp85_0 [63] 100.0% [66] 222(4.0%) 0(0.0%) compile15 (unknown source) temp91_0 [68] 100.0% ----------------------------------------------------------------------- coerce-contract/f [65] 100.0% [67] 400(7.3%) 400(7.3%) coerce-simple-value ...ract/private/guts.rkt:385:0 ----------------------------------------------------------------------- compile15 [66] 100.0% [68] 222(4.0%) 0(0.0%) temp91_0 (unknown source) temp118_0 [69] 100.0% ----------------------------------------------------------------------- temp91_0 [68] 100.0% [69] 222(4.0%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [70] 100.0% ----------------------------------------------------------------------- temp118_0 [69] 100.0% [70] 222(4.0%) 0(0.0%) expand-capturing-lifts (unknown source) expand-id-application-form17 [71]100.0% ----------------------------------------------------------------------- expand-capturing-lifts [70] 100.0% [71] 222(4.0%) 0(0.0%) expand-id-application-form17 (unknown source) resolve+shift28 [72] 100.0% ----------------------------------------------------------------------- expand-id-application-form17 [71]100.0% [72] 222(4.0%) 222(4.0%) resolve+shift28 (unknown source) -----------------------------------------------------------------------