Profiling results ----------------- Total cpu time observed: 3360ms (out of 3544ms) Number of samples taken: 12 (once every 280ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 3360(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [3] 100.0% -------------------------------------------------------------------- matcher [60] 100.0% [2] 560(16.7%) 0(0.0%) ??? ...ie/simpler-alts/src/core/matcher.rkt:129:11 for-loop [4] 100.0% -------------------------------------------------------------------- ??? [1] 100.0% [3] 3360(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% -------------------------------------------------------------------- ??? [2] 100.0% [4] 560(16.7%) 0(0.0%) for-loop ...mpler-alts/src/core/matcher.rkt:131:15 hash-ref! [53] 100.0% -------------------------------------------------------------------- profile-thunk16 [3] 100.0% [5] 3360(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% -------------------------------------------------------------------- run [5] 100.0% [6] 3360(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [7] 62.9% prepare-points-intervals [8] 24.3% get-final-combination [9] 6.7% oracle-error [10] 6.1% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [7] 2114(62.9%) 0(0.0%) run-improve47 ...mpler-alts/src/mainloop.rkt:365:0 for-loop [11] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [8] 818(24.3%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:122:0 loop [12] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [9] 224(6.7%) 0(0.0%) get-final-combination ...ts/src/mainloop.rkt:390:0 infer-splitpoints [13] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [6] 100.0% [10] 204(6.1%) 0(0.0%) oracle-error .../simpler-alts/src/points.rkt:179:0 for-loop [14] 100.0% -------------------------------------------------------------------- run-improve47 [7] 100.0% [11] 2114(62.9%) 0(0.0%) for-loop ...ie/simpler-alts/src/mainloop.rkt:384:4 run-iter! [15] 100.0% -------------------------------------------------------------------- prepare-points-intervals [8] 100.0% [12] 818(24.3%) 222(6.6%) loop ...s/herbie/simpler-alts/src/points.rkt:134:4 ??? [16] 47.2% ordinary-value? [18] 25.7% -------------------------------------------------------------------- get-final-combination [9] 100.0% [13] 224(6.7%) 0(0.0%) infer-splitpoints ...lts/src/core/regimes.rkt:33:0 for-loop [17] 100.0% -------------------------------------------------------------------- oracle-error [10] 100.0% [14] 204(6.1%) 0(0.0%) for-loop ...rbie/simpler-alts/src/points.rkt:180:2 map [19] 100.0% -------------------------------------------------------------------- for-loop [11] 100.0% [15] 2114(62.9%) 0(0.0%) run-iter! ...e/simpler-alts/src/mainloop.rkt:346:0 simplify! [20] 36.8% gen-rewrites! [21] 26.5% choose-best-alt! [22] 26.1% finalize-iter! [25] 10.6% -------------------------------------------------------------------- loop [12] 100.0% [16] 386(11.5%) 0(0.0%) ??? ...es/herbie/simpler-alts/src/points.rkt:115:6 sample-multi-bounded [23] 100.0% -------------------------------------------------------------------- infer-splitpoints [13] 100.0% [17] 224(6.7%) 0(0.0%) for-loop ...simpler-alts/src/core/regimes.rkt:45:6 option-on-expr [24] 100.0% -------------------------------------------------------------------- loop [12] 100.0% [18] 210(6.2%) 210(6.2%) ordinary-value? ...simpler-alts/src/float.rkt:51:0 -------------------------------------------------------------------- for-loop [14] 100.0% [19] 204(6.1%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 ??? [26] 100.0% -------------------------------------------------------------------- run-iter! [15] 100.0% [20] 778(23.2%) 0(0.0%) simplify! ...e/simpler-alts/src/mainloop.rkt:224:0 ??? [27] 100.0% -------------------------------------------------------------------- run-iter! [15] 100.0% [21] 560(16.7%) 0(0.0%) gen-rewrites! ...mpler-alts/src/mainloop.rkt:183:0 for-loop [28] 100.0% -------------------------------------------------------------------- run-iter! [15] 100.0% [22] 552(16.4%) 0(0.0%) choose-best-alt! ...er-alts/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [29]100.0% -------------------------------------------------------------------- ??? [16] 100.0% [23] 386(11.5%) 0(0.0%) sample-multi-bounded ...r-alts/src/points.rkt:14:0 random-ranges [30] 100.0% -------------------------------------------------------------------- for-loop [17] 100.0% [24] 224(6.7%) 0(0.0%) option-on-expr ...-alts/src/core/regimes.rkt:124:0 sort-context-on-expr [31] 100.0% -------------------------------------------------------------------- run-iter! [15] 100.0% [25] 224(6.7%) 0(0.0%) finalize-iter! ...pler-alts/src/mainloop.rkt:278:0 ??? [32] 100.0% -------------------------------------------------------------------- map [19] 100.0% [26] 204(6.1%) 0(0.0%) ??? ...s/herbie/simpler-alts/src/points.rkt:181:26 ulp-difference [33] 100.0% -------------------------------------------------------------------- simplify! [20] 100.0% [27] 778(23.2%) 0(0.0%) ??? ...bie/simpler-alts/src/core/simplify.rkt:42:0 egraph-run [34] 100.0% -------------------------------------------------------------------- gen-rewrites! [21] 100.0% [28] 560(16.7%) 0(0.0%) for-loop ...e/simpler-alts/src/mainloop.rkt:191:11 rewrite-expression-head23 [35] 100.0% -------------------------------------------------------------------- choose-best-alt! [22] 100.0% [29] 552(16.4%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [36] 100.0% -------------------------------------------------------------------- sample-multi-bounded [23] 100.0% [30] 386(11.5%) 188(5.6%) random-ranges ...simpler-alts/src/common.rkt:164:0 build--> [39] 51.3% -------------------------------------------------------------------- option-on-expr [24] 100.0% [31] 224(6.7%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:117:0 ??? [37] 100.0% -------------------------------------------------------------------- finalize-iter! [25] 100.0% [32] 224(6.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [38] 100.0% -------------------------------------------------------------------- ??? [26] 100.0% [33] 204(6.1%) 204(6.1%) ulp-difference .../simpler-alts/src/float.rkt:19:0 -------------------------------------------------------------------- ??? [27] 100.0% [34] 778(23.2%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [40] 100.0% -------------------------------------------------------------------- for-loop [28] 100.0% [35] 560(16.7%) 0(0.0%) rewrite-expression-head23 ...core/matcher.rkt:83:0 rewriter [41] 100.0% -------------------------------------------------------------------- ...ow-val-first.rkt:486:18 [29]100.0% [36] 552(16.4%) 0(0.0%) ??? ...ie/simpler-alts/src/core/alt-table.rkt:41:0 argmin [42] 100.0% -------------------------------------------------------------------- sort-context-on-expr [31] 100.0% [37] 224(6.7%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [43] 100.0% -------------------------------------------------------------------- ??? [32] 100.0% [38] 224(6.7%) 0(0.0%) for-loop ...pler-alts/src/core/alt-table.rkt:201:2 atab-add-altn [44] 100.0% -------------------------------------------------------------------- random-ranges [30] 100.0% [39] 198(5.9%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [45] 100.0% -------------------------------------------------------------------- egraph-run [34] 100.0% [40] 778(23.2%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [46] 100.0% -------------------------------------------------------------------- matcher [60] 50.0% rewrite-expression-head23 [35] 50.0% [41] 560(16.7%) 0(0.0%) rewriter ...simpler-alts/src/core/matcher.rkt:85:2 for-loop [47] 100.0% -------------------------------------------------------------------- ??? [36] 100.0% [42] 552(16.4%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [48] 100.0% -------------------------------------------------------------------- ??? [37] 100.0% [43] 224(6.7%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [49] 100.0% -------------------------------------------------------------------- for-loop [38] 100.0% [44] 224(6.7%) 0(0.0%) atab-add-altn ...alts/src/core/alt-table.rkt:204:0 errors [51] 100.0% -------------------------------------------------------------------- build--> [39] 100.0% [45] 198(5.9%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [50] 100.0% -------------------------------------------------------------------- egraph-add-exprs [40] 100.0% [46] 778(23.2%) 0(0.0%) ??? ...ie/simpler-alts/src/core/simplify.rkt:103:6 egg-run-rules [54] 67.4% for-loop [55] 32.6% -------------------------------------------------------------------- rewriter [41] 100.0% [47] 560(16.7%) 0(0.0%) for-loop ...simpler-alts/src/core/matcher.rkt:87:4 hash-ref! [53] 50.0% for-loop [52] 50.0% -------------------------------------------------------------------- argmin [42] 100.0% [48] 552(16.4%) 0(0.0%) ??? ...herbie/simpler-alts/src/mainloop.rkt:114:10 errors [51] 100.0% -------------------------------------------------------------------- generic-sort/key [43] 33.3% copying-mergesort [49] 66.7% [49] 224(6.7%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [49] 66.7% jloop [56] 33.3% -------------------------------------------------------------------- coerce-contract [45] 100.0% [50] 198(5.9%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [57] 100.0% -------------------------------------------------------------------- atab-add-altn [44] 28.9% ??? [48] 71.1% [51] 776(23.1%) 0(0.0%) errors ...herbie/simpler-alts/src/points.rkt:192:0 temp85_0 [58] 100.0% -------------------------------------------------------------------- for-loop [47] 100.0% [52] 560(16.7%) 0(0.0%) for-loop ...simpler-alts/src/core/matcher.rkt:94:8 fix-up-variables [59] 100.0% -------------------------------------------------------------------- for-loop [4] 50.0% for-loop [47] 50.0% [53] 560(16.7%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 matcher [60] 100.0% -------------------------------------------------------------------- ??? [46] 100.0% [54] 524(15.6%) 524(15.6%) egg-run-rules ...-alts/src/core/simplify.rkt:109:0 -------------------------------------------------------------------- ??? [46] 100.0% [55] 254(7.6%) 254(7.6%) for-loop ...mpler-alts/src/core/simplify.rkt:121:2 -------------------------------------------------------------------- copying-mergesort [49] 100.0% [56] 224(6.7%) 0(0.0%) jloop ...5/collects/racket/private/sort.rkt:120:23 ??? [61] 100.0% -------------------------------------------------------------------- coerce-contract/f [50] 100.0% [57] 198(5.9%) 198(5.9%) coerce-simple-value ...ract/private/guts.rkt:385:0 -------------------------------------------------------------------- errors [51] 100.0% [58] 776(23.1%) 0(0.0%) temp85_0 (unknown source) compile15 [62] 100.0% -------------------------------------------------------------------- for-loop [52] 100.0% [59] 560(16.7%) 0(0.0%) fix-up-variables ...lts/src/core/matcher.rkt:106:2 for-loop [63] 100.0% -------------------------------------------------------------------- hash-ref! [53] 100.0% [60] 560(16.7%) 0(0.0%) matcher ...simpler-alts/src/core/matcher.rkt:117:2 ??? [2] 50.0% rewriter [41] 50.0% -------------------------------------------------------------------- jloop [56] 100.0% [61] 224(6.7%) 224(6.7%) ??? ...tract/private/arrow-higher-order.rkt:375:33 -------------------------------------------------------------------- temp85_0 [58] 100.0% [62] 776(23.1%) 0(0.0%) compile15 (unknown source) temp91_0 [64] 100.0% -------------------------------------------------------------------- fix-up-variables [59] 100.0% [63] 560(16.7%) 0(0.0%) for-loop ...simpler-alts/src/core/matcher.rkt:41:9 for-loop [65] 100.0% -------------------------------------------------------------------- compile15 [62] 100.0% [64] 776(23.1%) 0(0.0%) temp91_0 (unknown source) temp118_0 [67] 71.1% compile-top9 [68] 28.9% -------------------------------------------------------------------- for-loop [63] 100.0% [65] 560(16.7%) 0(0.0%) for-loop ...simpler-alts/src/core/matcher.rkt:26:9 core457 [66] 100.0% -------------------------------------------------------------------- for-loop [65] 100.0% [66] 560(16.7%) 560(16.7%) core457 ...acket/contract/private/arr-i.rkt:976:19 -------------------------------------------------------------------- temp91_0 [64] 100.0% [67] 552(16.4%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [69] 100.0% -------------------------------------------------------------------- temp91_0 [64] 100.0% [68] 224(6.7%) 0(0.0%) compile-top9 (unknown source) compile-forms33 [70] 100.0% -------------------------------------------------------------------- temp118_0 [67] 100.0% [69] 552(16.4%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [71] 100.0% -------------------------------------------------------------------- compile-top9 [68] 100.0% [70] 224(6.7%) 0(0.0%) compile-forms33 (unknown source) for-loop [73] 100.0% -------------------------------------------------------------------- expand-capturing-lifts [69] 100.0% [71] 552(16.4%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [72] 100.0% -------------------------------------------------------------------- lambda-clause-expander [71] 20.0% for-loop [73] 80.0% [72] 552(16.4%) 0(0.0%) finish-bodys (unknown source) for-loop [73] 100.0% -------------------------------------------------------------------- for-loop [73] 20.3% compile-forms33 [70] 28.9% finish-bodys [72] 50.8% [73] 776(23.1%) 0(0.0%) for-loop (unknown source) finish-bodys [72] 40.6% compile-module-linklet57 [75] 28.9% for-loop [73] 20.3% syntax-e [74] 10.2% -------------------------------------------------------------------- for-loop [73] 100.0% [74] 552(16.4%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [76] 100.0% -------------------------------------------------------------------- for-loop [73] 100.0% [75] 224(6.7%) 224(6.7%) compile-module-linklet57 (unknown source) -------------------------------------------------------------------- syntax-e [74] 100.0% [76] 552(16.4%) 0(0.0%) syntax-e/no-taint (unknown source) loop [77] 100.0% -------------------------------------------------------------------- syntax-e/no-taint [76] 100.0% [77] 552(16.4%) 0(0.0%) loop (unknown source) gf [78] 100.0% -------------------------------------------------------------------- loop [77] 100.0% [78] 552(16.4%) 552(16.4%) gf (unknown source) --------------------------------------------------------------------