Profiling results ----------------- Total cpu time observed: 4568ms (out of 4708ms) Number of samples taken: 26 (once every 176ms) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== [1] 4568(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [7] 100.0% ------------------------------------------------------------------------ ??? [98] 100.0% [2] 578(12.7%) 0(0.0%) approximate9 ...both-ends/src/core/taylor.rkt:11:0 loop [8] 100.0% ------------------------------------------------------------------------ matcher [75] 100.0% [3] 200(4.4%) 0(0.0%) ??? ...ction-both-ends/src/core/matcher.rkt:127:11 for-loop [9] 100.0% ------------------------------------------------------------------------ hash-ref! [14] 100.0% [4] 200(4.4%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:300:23 for-loop [10] 100.0% ------------------------------------------------------------------------ loop [93] 100.0% [5] 176(3.9%) 0(0.0%) expand-id-application-form17 (unknown source) syntax-e/no-taint [11] 100.0% ------------------------------------------------------------------------ hash-ref! [14] 100.0% [6] 176(3.9%) 0(0.0%) f40 (unknown source) map [12] 100.0% ------------------------------------------------------------------------ ??? [1] 100.0% [7] 4568(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [13] 100.0% ------------------------------------------------------------------------ approximate9 [2] 100.0% [8] 578(12.7%) 0(0.0%) loop ...tection-both-ends/src/core/taylor.rkt:86:4 hash-ref! [14] 65.1% ??? [98] 34.9% ------------------------------------------------------------------------ ??? [3] 100.0% [9] 200(4.4%) 0(0.0%) for-loop ...-both-ends/src/core/matcher.rkt:129:15 matcher [75] 100.0% ------------------------------------------------------------------------ ??? [4] 100.0% [10] 200(4.4%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:303:27 hash-ref! [14] 100.0% ------------------------------------------------------------------------ expand-id-application-form17 [5] 100.0% [11] 176(3.9%) 0(0.0%) syntax-e/no-taint (unknown source) loop [93] 100.0% ------------------------------------------------------------------------ f40 [6] 100.0% [12] 176(3.9%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 parse-loop74 [15] 100.0% ------------------------------------------------------------------------ profile-thunk16 [7] 100.0% [13] 4568(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [16] 100.0% ------------------------------------------------------------------------ for-loop [10] 8.7% loop [8] 18.8% ??? [17] 36.3% ??? [98] 36.3% [14] 578(12.7%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [17] 36.3% parse-loop74 [15] 26.1% ??? [19] 18.8% f40 [6] 10.1% ??? [4] 8.7% ------------------------------------------------------------------------ map [12] 30.4% hash-ref! [14] 69.6% [15] 578(12.7%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [18] 100.0% ------------------------------------------------------------------------ for-loop [73] 1.7% run [13] 98.3% [16] 4568(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [20] 56.3% prepare-points-intervals [21] 23.3% oracle-error [22] 7.2% get-final-combination [23] 6.6% errors [64] 4.9% ulp-difference [24] 1.7% ------------------------------------------------------------------------ hash-ref! [14] 100.0% [17] 578(12.7%) 0(0.0%) ??? ...tection-both-ends/src/core/taylor.rkt:44:15 hash-ref! [14] 100.0% ------------------------------------------------------------------------ parse-loop74 [15] 100.0% [18] 578(12.7%) 202(4.4%) eval-const-expr ...oth-ends/src/programs.rkt:120:0 loop [93] 34.6% temp85_0 [72] 30.4% ------------------------------------------------------------------------ hash-ref! [14] 100.0% [19] 376(8.2%) 0(0.0%) ??? ...tection-both-ends/src/core/taylor.rkt:67:15 ??? [98] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [16] 100.0% [20] 2572(56.3%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:346:0 for-loop [25] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [16] 100.0% [21] 1064(23.3%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:133:0 loop [26] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [16] 100.0% [22] 328(7.2%) 0(0.0%) oracle-error ...ion-both-ends/src/points.rkt:190:0 for-loop [27] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [16] 100.0% [23] 302(6.6%) 0(0.0%) get-final-combination ...ds/src/mainloop.rkt:371:0 infer-splitpoints [28] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [16] 100.0% [24] 154(3.4%) 154(3.4%) ulp-difference ...ion-both-ends/src/float.rkt:19:0 ------------------------------------------------------------------------ run-improve47 [20] 100.0% [25] 2572(56.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:365:4 run-iter! [29] 100.0% ------------------------------------------------------------------------ prepare-points-intervals [21] 100.0% [26] 1064(23.3%) 0(0.0%) loop ...w-detection-both-ends/src/points.rkt:145:4 loop [30] 57.1% ??? [31] 42.9% ------------------------------------------------------------------------ oracle-error [22] 100.0% [27] 328(7.2%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:191:2 loop [93] 50.6% argmin [33] 49.4% ------------------------------------------------------------------------ get-final-combination [23] 100.0% [28] 302(6.6%) 0(0.0%) infer-splitpoints ...nds/src/core/regimes.rkt:33:0 for-loop [32] 100.0% ------------------------------------------------------------------------ for-loop [25] 100.0% [29] 2572(56.3%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:327:0 simplify! [34] 57.0% gen-series! [35] 22.5% finalize-iter! [37] 12.8% gen-rewrites! [39] 7.8% ------------------------------------------------------------------------ loop [26] 100.0% [30] 608(13.3%) 0(0.0%) loop ...ow-detection-both-ends/src/points.rkt:81:2 real->precision [40] 25.3% ??? [44] 25.0% hash-update! [41] 25.0% ??? [98] 24.7% ------------------------------------------------------------------------ loop [26] 100.0% [31] 456(10.0%) 0(0.0%) ??? ...ow-detection-both-ends/src/points.rkt:126:6 sample-multi-bounded [36] 100.0% ------------------------------------------------------------------------ infer-splitpoints [28] 100.0% [32] 302(6.6%) 0(0.0%) for-loop ...on-both-ends/src/core/regimes.rkt:45:6 option-on-expr [38] 100.0% ------------------------------------------------------------------------ for-loop [27] 100.0% [33] 162(3.5%) 162(3.5%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ------------------------------------------------------------------------ run-iter! [29] 100.0% [34] 1466(32.1%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [42] 100.0% ------------------------------------------------------------------------ run-iter! [29] 100.0% [35] 578(12.7%) 0(0.0%) gen-series! ...on-both-ends/src/mainloop.rkt:160:0 for-loop [43] 100.0% ------------------------------------------------------------------------ ??? [31] 100.0% [36] 456(10.0%) 0(0.0%) sample-multi-bounded ...h-ends/src/points.rkt:14:0 random-ranges [45] 100.0% ------------------------------------------------------------------------ run-iter! [29] 100.0% [37] 328(7.2%) 0(0.0%) finalize-iter! ...both-ends/src/mainloop.rkt:278:0 ??? [44] 100.0% ------------------------------------------------------------------------ for-loop [32] 100.0% [38] 302(6.6%) 0(0.0%) option-on-expr ...-ends/src/core/regimes.rkt:124:0 err-lsts->split-indices [47] 50.3% sort-context-on-expr [48] 49.7% ------------------------------------------------------------------------ run-iter! [29] 100.0% [39] 200(4.4%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [46] 100.0% ------------------------------------------------------------------------ loop [30] 100.0% [40] 154(3.4%) 0(0.0%) real->precision ...oth-ends/src/programs.rkt:94:11 ??? [98] 100.0% ------------------------------------------------------------------------ loop [30] 100.0% [41] 152(3.3%) 152(3.3%) hash-update! ...cket/private/more-scheme.rkt:365:4 ------------------------------------------------------------------------ simplify! [34] 100.0% [42] 1466(32.1%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [49] 100.0% ------------------------------------------------------------------------ gen-series! [35] 100.0% [43] 578(12.7%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:167:7 taylor-alt [50] 100.0% ------------------------------------------------------------------------ loop [30] 31.7% finalize-iter! [37] 68.3% [44] 480(10.5%) 152(3.3%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [51] 68.3% ------------------------------------------------------------------------ sample-multi-bounded [36] 100.0% [45] 456(10.0%) 302(6.6%) random-ranges ...on-both-ends/src/common.rkt:164:0 build--> [53] 33.8% ------------------------------------------------------------------------ gen-rewrites! [39] 100.0% [46] 200(4.4%) 0(0.0%) for-loop ...tion-both-ends/src/mainloop.rkt:191:11 rewrite-expression-head24 [52] 100.0% ------------------------------------------------------------------------ option-on-expr [38] 100.0% [47] 152(3.3%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:263:0 loop [54] 100.0% ------------------------------------------------------------------------ option-on-expr [38] 100.0% [48] 150(3.3%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:117:0 ??? [55] 100.0% ------------------------------------------------------------------------ ??? [42] 100.0% [49] 1466(32.1%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [56] 100.0% ------------------------------------------------------------------------ for-loop [43] 100.0% [50] 578(12.7%) 0(0.0%) taylor-alt ...ion-both-ends/src/mainloop.rkt:146:0 for-loop [57] 100.0% ------------------------------------------------------------------------ ??? [44] 100.0% [51] 328(7.2%) 0(0.0%) for-loop ...-both-ends/src/core/alt-table.rkt:46:2 atab-add-altn [58] 100.0% ------------------------------------------------------------------------ for-loop [46] 100.0% [52] 200(4.4%) 0(0.0%) rewrite-expression-head24 ...core/matcher.rkt:85:0 rewriter [59] 100.0% ------------------------------------------------------------------------ random-ranges [45] 100.0% [53] 154(3.4%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [60] 100.0% ------------------------------------------------------------------------ err-lsts->split-indices [47] 100.0% [54] 152(3.3%) 0(0.0%) loop ...ction-both-ends/src/core/regimes.rkt:314:4 for-loop [61] 100.0% ------------------------------------------------------------------------ sort-context-on-expr [48] 100.0% [55] 150(3.3%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [62] 100.0% ------------------------------------------------------------------------ egraph-run [49] 100.0% [56] 1466(32.1%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [63] 81.2% loop [93] 18.8% ------------------------------------------------------------------------ taylor-alt [50] 100.0% [57] 578(12.7%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:152:6 ??? [98] 100.0% ------------------------------------------------------------------------ for-loop [51] 100.0% [58] 328(7.2%) 0(0.0%) atab-add-altn ...ends/src/core/alt-table.rkt:194:0 override-at-pnts [66] 53.0% errors [64] 47.0% ------------------------------------------------------------------------ matcher [75] 50.0% rewrite-expression-head24 [52] 50.0% [59] 200(4.4%) 0(0.0%) rewriter ...on-both-ends/src/core/matcher.rkt:87:2 for-loop [65] 100.0% ------------------------------------------------------------------------ build--> [53] 100.0% [60] 154(3.4%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [67] 100.0% ------------------------------------------------------------------------ loop [54] 100.0% [61] 152(3.3%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:279:4 for-loop [68] 100.0% ------------------------------------------------------------------------ ??? [55] 100.0% [62] 150(3.3%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [69] 100.0% ------------------------------------------------------------------------ egraph-add-exprs [56] 100.0% [63] 1190(26.1%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:102:6 for-loop [70] 68.6% egg-run-rules [71] 31.4% ------------------------------------------------------------------------ atab-add-altn [58] 33.8% .../more-scheme.rkt:261:28 [16] 66.2% [64] 456(10.0%) 0(0.0%) errors ...detection-both-ends/src/points.rkt:203:0 for-loop [73] 66.2% temp85_0 [72] 33.8% ------------------------------------------------------------------------ rewriter [59] 100.0% [65] 200(4.4%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:89:4 matcher [75] 50.0% for-loop [74] 50.0% ------------------------------------------------------------------------ atab-add-altn [58] 100.0% [66] 174(3.8%) 0(0.0%) override-at-pnts ...s/src/core/alt-table.rkt:129:0 for-loop [76] 100.0% ------------------------------------------------------------------------ coerce-contract [60] 100.0% [67] 154(3.4%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [77] 100.0% ------------------------------------------------------------------------ for-loop [61] 100.0% [68] 152(3.3%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:283:8 ??? [78] 100.0% ------------------------------------------------------------------------ generic-sort/key [62] 100.0% [69] 150(3.3%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 loop [79] 100.0% ------------------------------------------------------------------------ ??? [63] 100.0% [70] 816(17.9%) 816(17.9%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 ------------------------------------------------------------------------ ??? [63] 100.0% [71] 374(8.2%) 374(8.2%) egg-run-rules ...-ends/src/core/simplify.rkt:108:0 ------------------------------------------------------------------------ errors [64] 46.7% eval-const-expr [18] 53.3% [72] 330(7.2%) 0(0.0%) temp85_0 (unknown source) compile15 [80] 100.0% ------------------------------------------------------------------------ errors [64] 100.0% [73] 302(6.6%) 148(3.2%) for-loop ...tection-both-ends/src/points.rkt:205:2 .../more-scheme.rkt:261:28 [16] 51.0% ------------------------------------------------------------------------ for-loop [65] 100.0% [74] 200(4.4%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:96:8 fix-up-variables [81] 100.0% ------------------------------------------------------------------------ for-loop [9] 50.0% for-loop [65] 50.0% [75] 200(4.4%) 0(0.0%) matcher ...on-both-ends/src/core/matcher.rkt:115:2 ??? [3] 50.0% rewriter [59] 50.0% ------------------------------------------------------------------------ override-at-pnts [66] 100.0% [76] 174(3.8%) 0(0.0%) for-loop ...oth-ends/src/core/alt-table.rkt:130:22 ??? [82] 100.0% ------------------------------------------------------------------------ coerce-contract/f [67] 100.0% [77] 154(3.4%) 154(3.4%) coerce-simple-value ...ract/private/guts.rkt:385:0 ------------------------------------------------------------------------ for-loop [68] 100.0% [78] 152(3.3%) 152(3.3%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 ------------------------------------------------------------------------ copying-mergesort [69] 100.0% [79] 150(3.3%) 150(3.3%) loop ...7.5/collects/racket/private/sort.rkt:96:12 ------------------------------------------------------------------------ temp85_0 [72] 100.0% [80] 330(7.2%) 0(0.0%) compile15 (unknown source) temp91_0 [83] 100.0% ------------------------------------------------------------------------ for-loop [74] 100.0% [81] 200(4.4%) 0(0.0%) fix-up-variables ...nds/src/core/matcher.rkt:108:2 pattern-substitute [84] 100.0% ------------------------------------------------------------------------ for-loop [76] 100.0% [82] 174(3.8%) 174(3.8%) ??? ...7.5/collects/racket/private/for.rkt:1236:14 ------------------------------------------------------------------------ compile15 [80] 100.0% [83] 330(7.2%) 0(0.0%) temp91_0 (unknown source) temp118_0 [85] 100.0% ------------------------------------------------------------------------ fix-up-variables [81] 100.0% [84] 200(4.4%) 0(0.0%) pattern-substitute ...ds/src/core/matcher.rkt:45:0 do-curry [86] 100.0% ------------------------------------------------------------------------ temp91_0 [83] 100.0% [85] 330(7.2%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [87] 100.0% ------------------------------------------------------------------------ pattern-substitute [84] 100.0% [86] 200(4.4%) 200(4.4%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ------------------------------------------------------------------------ loop [93] 37.7% temp118_0 [85] 62.3% [87] 530(11.6%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [88] 62.3% dispatch-transformer41 [89] 37.7% ------------------------------------------------------------------------ expand-capturing-lifts [87] 100.0% [88] 330(7.2%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [90] 100.0% ------------------------------------------------------------------------ expand-capturing-lifts [87] 100.0% [89] 200(4.4%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [91] 100.0% ------------------------------------------------------------------------ lambda-clause-expander [88] 30.9% for-loop [92] 69.1% [90] 330(7.2%) 0(0.0%) finish-bodys (unknown source) for-loop [92] 100.0% ------------------------------------------------------------------------ dispatch-transformer41 [89] 100.0% [91] 200(4.4%) 0(0.0%) apply-transformer52 (unknown source) loop [93] 100.0% ------------------------------------------------------------------------ for-loop [92] 21.7% finish-bodys [90] 78.3% [92] 330(7.2%) 154(3.4%) for-loop (unknown source) finish-bodys [90] 56.7% for-loop [92] 21.7% loop [93] 17.8% ------------------------------------------------------------------------ expr->egg-expr [94] 3.4% egraph-add-exprs [56] 3.4% expr->egg-expr-helper [95] 10.1% syntax-e/no-taint [11] 10.8% for-loop [92] 10.8% apply-transformer52 [91] 12.2% eval-const-expr [18] 12.2% loop [93] 16.9% for-loop [27] 20.3% [93] 818(17.9%) 200(4.4%) loop (unknown source) ??? [97] 20.3% loop [93] 16.9% expr->egg-expr-helper [95] 13.5% expand-capturing-lifts [87] 12.2% expand-id-application-form17 [5] 10.8% gf [96] 10.8% expr->egg-expr [94] 3.4% ------------------------------------------------------------------------ loop [93] 100.0% [94] 276(6.0%) 0(0.0%) expr->egg-expr ...s/egg-herbie-linux/main.rkt:72:0 loop [93] 100.0% ------------------------------------------------------------------------ loop [93] 100.0% [95] 276(6.0%) 0(0.0%) expr->egg-expr-helper ...erbie-linux/main.rkt:77:0 loop [93] 75.0% list-member? [99] 25.0% ------------------------------------------------------------------------ loop [93] 100.0% [96] 176(3.9%) 0(0.0%) gf (unknown source) cache-or-reuse-set [100] 100.0% ------------------------------------------------------------------------ loop [93] 100.0% [97] 166(3.6%) 0(0.0%) ??? ...w-detection-both-ends/src/points.rkt:192:26 ??? [98] 100.0% ------------------------------------------------------------------------ loop [8] 6.4% ??? [19] 12.0% loop [30] 14.3% real->precision [40] 14.7% ??? [97] 15.8% location-do [101] 18.4% for-loop [57] 18.4% [98] 1048(22.9%) 320(7.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [101] 18.4% approximate9 [2] 18.4% hash-ref! [14] 18.4% ival-mult [102] 14.3% ------------------------------------------------------------------------ expr->egg-expr-helper [95] 100.0% [99] 276(6.0%) 276(6.0%) list-member? ...llects/racket/private/set.rkt:24:0 ------------------------------------------------------------------------ gf [96] 100.0% [100] 176(3.9%) 176(3.9%) cache-or-reuse-set (unknown source) ------------------------------------------------------------------------ location-do [101] 34.8% ??? [98] 65.2% [101] 578(12.7%) 0(0.0%) location-do ...ion-both-ends/src/programs.rkt:63:0 ??? [98] 65.2% location-do [101] 34.8% ------------------------------------------------------------------------ ??? [98] 100.0% [102] 150(3.3%) 0(0.0%) ival-mult ...n-both-ends/src/biginterval.rkt:214:0 e-compute7 [103] 100.0% ------------------------------------------------------------------------ ival-mult [102] 100.0% [103] 150(3.3%) 0(0.0%) e-compute7 ...-both-ends/src/biginterval.rkt:154:0 strong-immovable-endpoint-0? [104]100.0% ------------------------------------------------------------------------ e-compute7 [103] 100.0% [104] 150(3.3%) 150(3.3%) strong-immovable-endpoint-0? ...interval.rkt:122:0 ------------------------------------------------------------------------