Profiling results ----------------- Total cpu time observed: 6124ms (out of 6144ms) Number of samples taken: 31 (once every 198ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 111 hidden) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== [1] 6124(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [6] 100.0% --------------------------------------------------------------------- for-loop [108] 100.0% [2] 538(8.8%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [7] 100.0% --------------------------------------------------------------------- loop [71] 100.0% [3] 204(3.3%) 0(0.0%) read-one/not-eof (unknown source) read-undotted [13] 100.0% --------------------------------------------------------------------- loop [71] 100.0% [4] 204(3.3%) 0(0.0%) egg-expr->expr ...s/egg-herbie-linux/main.rkt:55:0 read [8] 100.0% --------------------------------------------------------------------- matcher [93] 100.0% [5] 192(3.1%) 0(0.0%) ??? ...ction-both-ends/src/core/matcher.rkt:129:11 for-loop [9] 100.0% --------------------------------------------------------------------- ??? [1] 100.0% [6] 6124(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [10] 100.0% --------------------------------------------------------------------- syntax-e [2] 100.0% [7] 538(8.8%) 0(0.0%) syntax-e/no-taint (unknown source) loop [71] 100.0% --------------------------------------------------------------------- egg-expr->expr [4] 100.0% [8] 204(3.3%) 0(0.0%) read (unknown source) read32 [11] 100.0% --------------------------------------------------------------------- ??? [5] 100.0% [9] 192(3.1%) 0(0.0%) for-loop ...-both-ends/src/core/matcher.rkt:131:15 hash-ref! [86] 100.0% --------------------------------------------------------------------- profile-thunk16 [6] 100.0% [10] 6124(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [12]100.0% --------------------------------------------------------------------- read [8] 100.0% [11] 204(3.3%) 0(0.0%) read32 (unknown source) read-undotted [13] 100.0% --------------------------------------------------------------------- for-loop [89] 8.1% run [10] 91.9% [12] 6124(100.0%) 600(9.8%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [14] 50.1% prepare-points-intervals [15] 23.3% errors [79] 6.2% oracle-error [16] 6.0% get-final-combination [19] 3.3% eval-errors [21] 3.0% ??? [30] 1.7% ordinary-value? [20] 1.5% --------------------------------------------------------------------- read32 [11] 25.0% read-one/not-eof [3] 75.0% [13] 204(3.3%) 0(0.0%) read-undotted (unknown source) read-unwrapped-sequence17 [17] 75.0% read-symbol-or-number8 [18] 25.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [12]100.0% [14] 3376(55.1%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:365:0 for-loop [22] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [12]100.0% [15] 1426(23.3%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:128:0 loop [23] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [12]100.0% [16] 370(6.0%) 0(0.0%) oracle-error ...ion-both-ends/src/points.rkt:185:0 for-loop [24] 100.0% --------------------------------------------------------------------- read-undotted [13] 100.0% [17] 204(3.3%) 0(0.0%) read-unwrapped-sequence17 (unknown source) loop [71] 100.0% --------------------------------------------------------------------- read-undotted [13] 100.0% [18] 204(3.3%) 0(0.0%) read-symbol-or-number8 (unknown source) loop [71] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [12]100.0% [19] 200(3.3%) 0(0.0%) get-final-combination ...ds/src/mainloop.rkt:390:0 infer-splitpoints [25] 100.0% --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [12]100.0% [20] 184(3.0%) 184(3.0%) ordinary-value? ...on-both-ends/src/float.rkt:51:0 --------------------------------------------------------------------- .../more-scheme.rkt:261:28 [12]100.0% [21] 184(3.0%) 0(0.0%) eval-errors ...tion-both-ends/src/points.rkt:176:0 for-loop [26] 100.0% --------------------------------------------------------------------- run-improve47 [14] 100.0% [22] 3376(55.1%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:384:4 run-iter! [27] 100.0% --------------------------------------------------------------------- prepare-points-intervals [15] 100.0% [23] 1426(23.3%) 0(0.0%) loop ...w-detection-both-ends/src/points.rkt:140:4 ??? [28] 56.8% loop [29] 43.2% --------------------------------------------------------------------- oracle-error [16] 100.0% [24] 370(6.0%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:186:2 map [32] 50.3% loop [71] 49.7% --------------------------------------------------------------------- get-final-combination [19] 100.0% [25] 200(3.3%) 0(0.0%) infer-splitpoints ...nds/src/core/regimes.rkt:33:0 for-loop [31] 100.0% --------------------------------------------------------------------- eval-errors [21] 100.0% [26] 184(3.0%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:178:2 ??? [30] 100.0% --------------------------------------------------------------------- for-loop [22] 100.0% [27] 3376(55.1%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:346:0 finalize-iter! [33] 43.9% simplify! [34] 39.4% gen-rewrites! [37] 10.7% choose-best-alt! [39] 6.0% --------------------------------------------------------------------- loop [23] 100.0% [28] 810(13.2%) 196(3.2%) ??? ...ow-detection-both-ends/src/points.rkt:121:6 sample-multi-bounded [35] 75.8% --------------------------------------------------------------------- loop [23] 100.0% [29] 616(10.1%) 0(0.0%) loop ...ow-detection-both-ends/src/points.rkt:81:2 ??? [38] 34.7% ??? [43] 33.1% real->precision [41] 32.1% --------------------------------------------------------------------- for-loop [26] 47.2% .../more-scheme.rkt:261:28 [12] 52.8% [30] 390(6.4%) 0(0.0%) ??? ...tion-both-ends/src/syntax/syntax.rkt:214:17 return/no-unsupplied [36] 100.0% --------------------------------------------------------------------- infer-splitpoints [25] 100.0% [31] 200(3.3%) 0(0.0%) for-loop ...on-both-ends/src/core/regimes.rkt:45:6 option-on-expr [40] 100.0% --------------------------------------------------------------------- for-loop [24] 100.0% [32] 186(3.0%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 loop [42] 100.0% --------------------------------------------------------------------- run-iter! [27] 100.0% [33] 1482(24.2%) 0(0.0%) finalize-iter! ...both-ends/src/mainloop.rkt:278:0 ??? [43] 100.0% --------------------------------------------------------------------- run-iter! [27] 100.0% [34] 1330(21.7%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [44] 100.0% --------------------------------------------------------------------- ??? [28] 100.0% [35] 614(10.0%) 0(0.0%) sample-multi-bounded ...h-ends/src/points.rkt:14:0 random-ranges [45] 68.7% for-loop [50] 31.3% --------------------------------------------------------------------- ??? [30] 100.0% [36] 390(6.4%) 390(6.4%) return/no-unsupplied ...ct/private/arr-i.rkt:566:0 --------------------------------------------------------------------- run-iter! [27] 100.0% [37] 362(5.9%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [51] 53.0% for-loop [53] 47.0% --------------------------------------------------------------------- loop [29] 100.0% [38] 214(3.5%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [46] 100.0% --------------------------------------------------------------------- run-iter! [27] 100.0% [39] 202(3.3%) 0(0.0%) choose-best-alt! ...th-ends/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [47]100.0% --------------------------------------------------------------------- for-loop [31] 100.0% [40] 200(3.3%) 0(0.0%) option-on-expr ...-ends/src/core/regimes.rkt:124:0 sort-context-on-expr [48] 100.0% --------------------------------------------------------------------- loop [29] 100.0% [41] 198(3.2%) 0(0.0%) real->precision ...th-ends/src/programs.rkt:118:11 ??? [49] 100.0% --------------------------------------------------------------------- map [32] 100.0% [42] 186(3.0%) 0(0.0%) loop ...-7.5/collects/racket/private/map.rkt:40:19 ??? [52] 100.0% --------------------------------------------------------------------- loop [29] 12.1% finalize-iter! [33] 87.9% [43] 1686(27.5%) 204(3.3%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [54] 87.9% --------------------------------------------------------------------- simplify! [34] 100.0% [44] 1330(21.7%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [55] 100.0% --------------------------------------------------------------------- sample-multi-bounded [35] 100.0% [45] 422(6.9%) 222(3.6%) random-ranges ...on-both-ends/src/common.rkt:164:0 cons/c [58] 47.4% --------------------------------------------------------------------- ??? [38] 100.0% [46] 214(3.5%) 0(0.0%) ival-mult ...n-both-ends/src/biginterval.rkt:210:0 epmul [56] 100.0% --------------------------------------------------------------------- choose-best-alt! [39] 100.0% [47] 202(3.3%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [57] 100.0% --------------------------------------------------------------------- option-on-expr [40] 100.0% [48] 200(3.3%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:117:0 ??? [59] 100.0% --------------------------------------------------------------------- real->precision [41] 100.0% [49] 198(3.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:770:8 bigvalue? [60] 100.0% --------------------------------------------------------------------- sample-multi-bounded [35] 100.0% [50] 192(3.1%) 192(3.1%) for-loop ...etection-both-ends/src/points.rkt:20:4 --------------------------------------------------------------------- gen-rewrites! [37] 100.0% [51] 192(3.1%) 0(0.0%) for-loop ...tion-both-ends/src/mainloop.rkt:191:11 rewrite-expression-head23 [61] 100.0% --------------------------------------------------------------------- loop [42] 100.0% [52] 186(3.0%) 186(3.0%) ??? ...w-detection-both-ends/src/points.rkt:187:26 --------------------------------------------------------------------- gen-rewrites! [37] 100.0% [53] 170(2.8%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:208:4 for-loop [62] 100.0% --------------------------------------------------------------------- ??? [43] 100.0% [54] 1482(24.2%) 0(0.0%) for-loop ...both-ends/src/core/alt-table.rkt:201:2 atab-add-altn [63] 100.0% --------------------------------------------------------------------- ??? [44] 100.0% [55] 1330(21.7%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [64] 100.0% --------------------------------------------------------------------- ival-mult [46] 100.0% [56] 214(3.5%) 0(0.0%) epmul ...ction-both-ends/src/biginterval.rkt:199:0 bfmul [65] 100.0% --------------------------------------------------------------------- ...ow-val-first.rkt:486:18 [47]100.0% [57] 202(3.3%) 0(0.0%) ??? ...ction-both-ends/src/core/alt-table.rkt:41:0 loop [66] 100.0% --------------------------------------------------------------------- random-ranges [45] 100.0% [58] 200(3.3%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [67] 100.0% --------------------------------------------------------------------- sort-context-on-expr [48] 100.0% [59] 200(3.3%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [68] 100.0% --------------------------------------------------------------------- ??? [49] 100.0% [60] 198(3.2%) 198(3.2%) bigvalue? ...n-both-ends/src/syntax/types.rkt:19:0 --------------------------------------------------------------------- for-loop [51] 100.0% [61] 192(3.1%) 0(0.0%) rewrite-expression-head23 ...core/matcher.rkt:83:0 rewriter [69] 100.0% --------------------------------------------------------------------- for-loop [53] 100.0% [62] 170(2.8%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:209:6 change-apply [70] 100.0% --------------------------------------------------------------------- for-loop [54] 100.0% [63] 1482(24.2%) 0(0.0%) atab-add-altn ...ends/src/core/alt-table.rkt:204:0 errors [79] 89.1% best-and-tied-at-points [78] 10.9% --------------------------------------------------------------------- egraph-run [55] 100.0% [64] 1330(21.7%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [72] 69.8% loop [71] 30.2% --------------------------------------------------------------------- epmul [56] 100.0% [65] 214(3.5%) 214(3.5%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 --------------------------------------------------------------------- ??? [57] 100.0% [66] 202(3.3%) 0(0.0%) loop .../racket-7.5/collects/racket/list.rkt:751:4 ??? [73] 100.0% --------------------------------------------------------------------- cons/c [58] 100.0% [67] 200(3.3%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [74] 100.0% --------------------------------------------------------------------- ??? [59] 100.0% [68] 200(3.3%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [75] 100.0% --------------------------------------------------------------------- matcher [93] 50.0% rewrite-expression-head23 [61] 50.0% [69] 192(3.1%) 0(0.0%) rewriter ...on-both-ends/src/core/matcher.rkt:85:2 for-loop [76] 100.0% --------------------------------------------------------------------- for-loop [62] 100.0% [70] 170(2.8%) 0(0.0%) change-apply ...oth-ends/src/core/matcher.rkt:69:0 pattern-substitute [77] 100.0% --------------------------------------------------------------------- read-symbol-or-number8 [18] 0.2% egraph-add-exprs [64] 0.4% read-unwrapped-sequence17 [17] 0.7% for-loop [24] 16.4% loop [71] 34.3% syntax-e/no-taint [7] 47.9% [71] 1124(18.4%) 388(6.3%) loop (unknown source) gf [81] 47.9% loop [71] 34.3% read-one/not-eof [3] 0.7% egg-expr->expr [4] 0.2% string-join9 [84] 0.2% --------------------------------------------------------------------- egraph-add-exprs [64] 100.0% [72] 928(15.2%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:103:6 for-loop [80] 100.0% --------------------------------------------------------------------- loop [66] 100.0% [73] 202(3.3%) 0(0.0%) ??? ...detection-both-ends/src/mainloop.rkt:114:10 errors [79] 100.0% --------------------------------------------------------------------- coerce-contract [67] 100.0% [74] 200(3.3%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [82] 100.0% --------------------------------------------------------------------- copying-mergesort [75] 50.0% generic-sort/key [68] 50.0% [75] 200(3.3%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [75] 50.0% loop [83] 50.0% --------------------------------------------------------------------- rewriter [69] 100.0% [76] 192(3.1%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:87:4 hash-ref! [86] 50.0% for-loop [85] 50.0% --------------------------------------------------------------------- change-apply [70] 100.0% [77] 170(2.8%) 0(0.0%) pattern-substitute ...ds/src/core/matcher.rkt:45:0 do-curry [87] 100.0% --------------------------------------------------------------------- atab-add-altn [63] 100.0% [78] 162(2.6%) 0(0.0%) best-and-tied-at-points ...core/alt-table.rkt:91:0 for-loop [88] 100.0% --------------------------------------------------------------------- ??? [73] 9.7% .../more-scheme.rkt:261:28 [12] 27.2% atab-add-altn [63] 63.2% [79] 2090(34.1%) 0(0.0%) errors ...detection-both-ends/src/points.rkt:198:0 for-loop [89] 65.5% temp85_0 [90] 34.5% --------------------------------------------------------------------- ??? [72] 100.0% [80] 928(15.2%) 928(15.2%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 --------------------------------------------------------------------- loop [71] 100.0% [81] 538(8.8%) 0(0.0%) gf (unknown source) propagation-apply [91] 70.3% cache-or-reuse-set [94] 29.7% --------------------------------------------------------------------- coerce-contract/f [74] 100.0% [82] 200(3.3%) 200(3.3%) coerce-simple-value ...ract/private/guts.rkt:385:0 --------------------------------------------------------------------- copying-mergesort [75] 100.0% [83] 200(3.3%) 200(3.3%) loop ...7.5/collects/racket/private/sort.rkt:96:12 --------------------------------------------------------------------- loop [71] 100.0% [84] 198(3.2%) 198(3.2%) string-join9 ....5/collects/racket/string.rkt:29:0 --------------------------------------------------------------------- for-loop [76] 100.0% [85] 192(3.1%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:94:8 fix-up-variables [92] 100.0% --------------------------------------------------------------------- for-loop [9] 50.0% for-loop [76] 50.0% [86] 192(3.1%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 matcher [93] 100.0% --------------------------------------------------------------------- pattern-substitute [77] 100.0% [87] 170(2.8%) 170(2.8%) do-curry ...-7.5/collects/racket/function.rkt:71:2 --------------------------------------------------------------------- best-and-tied-at-points [78] 100.0% [88] 162(2.6%) 162(2.6%) for-loop ...-both-ends/src/core/alt-table.rkt:94:4 --------------------------------------------------------------------- errors [79] 100.0% [89] 1368(22.3%) 190(3.1%) for-loop ...tection-both-ends/src/points.rkt:200:2 .../more-scheme.rkt:261:28 [12] 72.4% ??? [97] 13.7% --------------------------------------------------------------------- errors [79] 100.0% [90] 722(11.8%) 0(0.0%) temp85_0 (unknown source) compile15 [95] 100.0% --------------------------------------------------------------------- gf [81] 100.0% [91] 378(6.2%) 378(6.2%) propagation-apply (unknown source) --------------------------------------------------------------------- for-loop [85] 100.0% [92] 192(3.1%) 0(0.0%) fix-up-variables ...nds/src/core/matcher.rkt:106:2 for-loop [96] 100.0% --------------------------------------------------------------------- hash-ref! [86] 100.0% [93] 192(3.1%) 0(0.0%) matcher ...on-both-ends/src/core/matcher.rkt:117:2 ??? [5] 50.0% rewriter [69] 50.0% --------------------------------------------------------------------- gf [81] 100.0% [94] 160(2.6%) 160(2.6%) cache-or-reuse-set (unknown source) --------------------------------------------------------------------- temp85_0 [90] 100.0% [95] 722(11.8%) 0(0.0%) compile15 (unknown source) temp91_0 [98] 100.0% --------------------------------------------------------------------- fix-up-variables [92] 100.0% [96] 192(3.1%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:41:9 for-loop [99] 100.0% --------------------------------------------------------------------- for-loop [89] 100.0% [97] 188(3.1%) 188(3.1%) ??? ...7.5/collects/racket/private/for.rkt:1236:14 --------------------------------------------------------------------- compile15 [95] 100.0% [98] 722(11.8%) 0(0.0%) temp91_0 (unknown source) temp118_0 [100] 100.0% --------------------------------------------------------------------- for-loop [96] 100.0% [99] 192(3.1%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:26:9 core457 [101] 100.0% --------------------------------------------------------------------- temp91_0 [98] 100.0% [100] 722(11.8%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [102] 100.0% --------------------------------------------------------------------- for-loop [99] 100.0% [101] 192(3.1%) 0(0.0%) core457 ...acket/contract/private/arr-i.rkt:976:19 un-dep/maybe-chaperone [103] 100.0% --------------------------------------------------------------------- temp118_0 [100] 100.0% [102] 722(11.8%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [104] 100.0% --------------------------------------------------------------------- core457 [101] 100.0% [103] 192(3.1%) 0(0.0%) un-dep/maybe-chaperone ...private/arr-i.rkt:1137:2 ??? [105] 100.0% --------------------------------------------------------------------- expand-capturing-lifts [102] 100.0% [104] 722(11.8%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [106] 100.0% --------------------------------------------------------------------- un-dep/maybe-chaperone [103] 100.0% [105] 192(3.1%) 0(0.0%) ??? ...cts/racket/contract/private/guts.rkt:835:10 ??? [107] 100.0% --------------------------------------------------------------------- lambda-clause-expander [104] 10.9% for-loop [108] 89.1% [106] 722(11.8%) 0(0.0%) finish-bodys (unknown source) for-loop [108] 100.0% --------------------------------------------------------------------- ??? [105] 100.0% [107] 192(3.1%) 192(3.1%) ??? ...ntract/private/arrow-higher-order.rkt:575:2 --------------------------------------------------------------------- for-loop [108] 18.1% finish-bodys [106] 81.9% [108] 722(11.8%) 0(0.0%) for-loop (unknown source) finish-bodys [106] 73.3% for-loop [108] 18.1% syntax-e [2] 5.8% add-local-binding!39 [109] 2.8% --------------------------------------------------------------------- for-loop [108] 100.0% [109] 184(3.0%) 0(0.0%) add-local-binding!39 (unknown source) binding-table-add [110] 100.0% --------------------------------------------------------------------- add-local-binding!39 [109] 100.0% [110] 184(3.0%) 184(3.0%) binding-table-add (unknown source) ---------------------------------------------------------------------