Profiling results ----------------- Total cpu time observed: 8480ms (out of 8772ms) Number of samples taken: 38 (once every 223ms) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== [1] 8480(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [11] 100.0% ------------------------------------------------------------------------ hash-ref! [82] 100.0% [2] 708(8.3%) 0(0.0%) ??? ...tection-both-ends/src/core/taylor.rkt:67:15 hash-ref! [82] 50.0% ??? [75] 50.0% ------------------------------------------------------------------------ ??? [75] 100.0% [3] 708(8.3%) 0(0.0%) approximate9 ...both-ends/src/core/taylor.rkt:11:0 loop [12] 100.0% ------------------------------------------------------------------------ map [13] 34.3% hash-ref! [82] 65.7% [4] 494(5.8%) 0(0.0%) f40 (unknown source) map [13] 100.0% ------------------------------------------------------------------------ hash-ref! [82] 100.0% [5] 254(3.0%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:300:23 for-loop [14] 100.0% ------------------------------------------------------------------------ matcher [84] 100.0% [6] 230(2.7%) 0(0.0%) ??? ...ction-both-ends/src/core/matcher.rkt:127:11 for-loop [15] 100.0% ------------------------------------------------------------------------ loop [107] 100.0% [7] 226(2.7%) 0(0.0%) read-one/not-eof (unknown source) read-undotted [28] 100.0% ------------------------------------------------------------------------ loop [107] 100.0% [8] 226(2.7%) 0(0.0%) egg-expr->expr ...s/egg-herbie-linux/main.rkt:55:0 read [16] 100.0% ------------------------------------------------------------------------ hash-ref! [82] 100.0% [9] 214(2.5%) 0(0.0%) f61 (unknown source) composed [18] 100.0% ------------------------------------------------------------------------ hash-ref! [82] 100.0% [10] 214(2.5%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:290:26 for-loop [17] 100.0% ------------------------------------------------------------------------ ??? [1] 100.0% [11] 8480(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [19] 100.0% ------------------------------------------------------------------------ approximate9 [3] 100.0% [12] 708(8.3%) 0(0.0%) loop ...tection-both-ends/src/core/taylor.rkt:86:4 hash-ref! [82] 100.0% ------------------------------------------------------------------------ f40 [4] 100.0% [13] 494(5.8%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 parse-loop74 [21] 48.6% f40 [4] 34.3% simplify-node [20] 17.1% ------------------------------------------------------------------------ ??? [5] 100.0% [14] 254(3.0%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:303:27 hash-ref! [82] 100.0% ------------------------------------------------------------------------ ??? [6] 100.0% [15] 230(2.7%) 0(0.0%) for-loop ...-both-ends/src/core/matcher.rkt:129:15 matcher [84] 100.0% ------------------------------------------------------------------------ egg-expr->expr [8] 100.0% [16] 226(2.7%) 0(0.0%) read (unknown source) read32 [22] 100.0% ------------------------------------------------------------------------ ??? [10] 100.0% [17] 214(2.5%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:290:52 ??? [24] 100.0% ------------------------------------------------------------------------ f61 [9] 100.0% [18] 214(2.5%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 free-variables [23] 100.0% ------------------------------------------------------------------------ profile-thunk16 [11] 100.0% [19] 8480(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [25] 100.0% ------------------------------------------------------------------------ map [13] 100.0% [20] 254(3.0%) 0(0.0%) simplify-node ...oth-ends/src/core/reduce.rkt:46:0 gather-additive-terms6 [33] 100.0% ------------------------------------------------------------------------ map [13] 100.0% [21] 240(2.8%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [27] 100.0% ------------------------------------------------------------------------ read [16] 100.0% [22] 226(2.7%) 0(0.0%) read32 (unknown source) read-undotted [28] 100.0% ------------------------------------------------------------------------ append-map [26] 50.0% composed [18] 50.0% [23] 214(2.5%) 0(0.0%) free-variables ...-both-ends/src/programs.rkt:56:0 append-map [26] 50.0% constant? [90] 50.0% ------------------------------------------------------------------------ for-loop [17] 100.0% [24] 214(2.5%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:293:19 hash-ref! [82] 100.0% ------------------------------------------------------------------------ for-loop [79] 5.3% run [19] 94.7% [25] 8480(100.0%) 442(5.2%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [29] 46.9% prepare-points-intervals [30] 33.9% get-final-combination [32] 5.0% errors [73] 3.8% ??? [31] 2.7% for-loop [35] 2.6% eval-errors [36] 2.4% ------------------------------------------------------------------------ free-variables [23] 45.7% gather-additive-terms6 [33] 54.3% [26] 468(5.5%) 0(0.0%) append-map ...t-7.5/collects/racket/list.rkt:586:2 gather-additive-terms6 [33] 54.3% free-variables [23] 45.7% ------------------------------------------------------------------------ parse-loop74 [21] 100.0% [27] 240(2.8%) 0(0.0%) eval-const-expr ...oth-ends/src/programs.rkt:120:0 temp85_0 [80] 100.0% ------------------------------------------------------------------------ read32 [22] 25.0% read-one/not-eof [7] 75.0% [28] 226(2.7%) 0(0.0%) read-undotted (unknown source) read-unwrapped-sequence17 [34] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [25] 100.0% [29] 4306(50.8%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:346:0 for-loop [37] 95.2% simplify! [46] 4.8% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [25] 100.0% [30] 2876(33.9%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:132:0 loop [38] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [25] 100.0% [31] 464(5.5%) 464(5.5%) ??? ...tion-both-ends/src/syntax/syntax.rkt:214:17 ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [25] 100.0% [32] 428(5.0%) 0(0.0%) get-final-combination ...ds/src/mainloop.rkt:371:0 ??? [39] 52.3% infer-splitpoints [41] 47.7% ------------------------------------------------------------------------ append-map [26] 50.0% simplify-node [20] 50.0% [33] 254(3.0%) 0(0.0%) gather-additive-terms6 ...src/core/reduce.rkt:68:0 append-map [26] 50.0% constant? [90] 50.0% ------------------------------------------------------------------------ read-undotted [28] 100.0% [34] 226(2.7%) 226(2.7%) read-unwrapped-sequence17 (unknown source) loop [107] 75.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [25] 100.0% [35] 224(2.6%) 224(2.6%) for-loop ...tection-both-ends/src/sandbox.rkt:69:8 ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [25] 100.0% [36] 206(2.4%) 0(0.0%) eval-errors ...tion-both-ends/src/points.rkt:180:0 for-loop [40] 100.0% ------------------------------------------------------------------------ run-improve47 [29] 100.0% [37] 4098(48.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:365:4 run-iter! [42] 100.0% ------------------------------------------------------------------------ prepare-points-intervals [30] 100.0% [38] 2876(33.9%) 200(2.4%) loop ...w-detection-both-ends/src/points.rkt:144:4 loop [43] 79.1% ??? [44] 13.9% ------------------------------------------------------------------------ get-final-combination [32] 100.0% [39] 224(2.6%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:38:0 ??? [54] 100.0% ------------------------------------------------------------------------ eval-errors [36] 100.0% [40] 206(2.4%) 206(2.4%) for-loop ...tection-both-ends/src/points.rkt:182:2 ------------------------------------------------------------------------ get-final-combination [32] 100.0% [41] 204(2.4%) 0(0.0%) infer-splitpoints ...nds/src/core/regimes.rkt:33:0 for-loop [45] 100.0% ------------------------------------------------------------------------ for-loop [37] 100.0% [42] 4098(48.3%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:327:0 simplify! [46] 38.8% finalize-iter! [47] 32.9% gen-series! [49] 17.3% gen-rewrites! [50] 10.9% ------------------------------------------------------------------------ loop [38] 100.0% [43] 2276(26.8%) 424(5.0%) loop ...ow-detection-both-ends/src/points.rkt:81:2 ??? [48] 53.7% ??? [75] 18.5% ??? [52] 9.1% ------------------------------------------------------------------------ loop [38] 100.0% [44] 400(4.7%) 0(0.0%) ??? ...ow-detection-both-ends/src/points.rkt:125:6 sample-multi-bounded [51] 100.0% ------------------------------------------------------------------------ infer-splitpoints [41] 100.0% [45] 204(2.4%) 0(0.0%) for-loop ...on-both-ends/src/core/regimes.rkt:45:6 option-on-expr [53] 100.0% ------------------------------------------------------------------------ run-improve47 [29] 11.6% run-iter! [42] 88.4% [46] 1800(21.2%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [54] 100.0% ------------------------------------------------------------------------ run-iter! [42] 100.0% [47] 1350(15.9%) 0(0.0%) finalize-iter! ...both-ends/src/mainloop.rkt:278:0 ??? [55] 100.0% ------------------------------------------------------------------------ loop [43] 100.0% [48] 1222(14.4%) 200(2.4%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-div [56] 67.3% ival-sub [61] 16.4% ------------------------------------------------------------------------ run-iter! [42] 100.0% [49] 708(8.3%) 0(0.0%) gen-series! ...on-both-ends/src/mainloop.rkt:160:0 for-loop [57] 100.0% ------------------------------------------------------------------------ run-iter! [42] 100.0% [50] 448(5.3%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [58] 100.0% ------------------------------------------------------------------------ ??? [44] 100.0% [51] 400(4.7%) 0(0.0%) sample-multi-bounded ...h-ends/src/points.rkt:14:0 random-ranges [59] 100.0% ------------------------------------------------------------------------ loop [43] 100.0% [52] 208(2.5%) 208(2.5%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ------------------------------------------------------------------------ for-loop [45] 100.0% [53] 204(2.4%) 0(0.0%) option-on-expr ...-ends/src/core/regimes.rkt:124:0 for-loop [60] 100.0% ------------------------------------------------------------------------ ??? [39] 11.1% simplify! [46] 88.9% [54] 2024(23.9%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [62] 100.0% ------------------------------------------------------------------------ finalize-iter! [47] 100.0% [55] 1350(15.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [63] 100.0% ------------------------------------------------------------------------ ??? [48] 100.0% [56] 822(9.7%) 0(0.0%) ival-div ...on-both-ends/src/biginterval.rkt:282:0 e-compute [91] 51.1% serious-immovable-endpoint? [104] 48.9% ------------------------------------------------------------------------ gen-series! [49] 100.0% [57] 708(8.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:167:7 taylor-alt [64] 100.0% ------------------------------------------------------------------------ gen-rewrites! [50] 100.0% [58] 448(5.3%) 0(0.0%) for-loop ...tion-both-ends/src/mainloop.rkt:191:11 rewrite-expression-head24 [65] 51.3% *rules* [66] 48.7% ------------------------------------------------------------------------ sample-multi-bounded [51] 100.0% [59] 400(4.7%) 200(2.4%) random-ranges ...on-both-ends/src/common.rkt:164:0 build--> [67] 50.0% ------------------------------------------------------------------------ option-on-expr [53] 100.0% [60] 204(2.4%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:135:4 errors [73] 100.0% ------------------------------------------------------------------------ ??? [48] 100.0% [61] 200(2.4%) 200(2.4%) ival-sub ...on-both-ends/src/biginterval.rkt:207:0 ------------------------------------------------------------------------ ??? [54] 100.0% [62] 2024(23.9%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [68] 100.0% ------------------------------------------------------------------------ ??? [55] 100.0% [63] 1350(15.9%) 0(0.0%) for-loop ...-both-ends/src/core/alt-table.rkt:46:2 atab-add-altn [69] 67.3% errors [73] 32.7% ------------------------------------------------------------------------ for-loop [57] 100.0% [64] 708(8.3%) 0(0.0%) taylor-alt ...ion-both-ends/src/mainloop.rkt:146:0 for-loop [70] 100.0% ------------------------------------------------------------------------ for-loop [58] 100.0% [65] 230(2.7%) 0(0.0%) rewrite-expression-head24 ...core/matcher.rkt:85:0 rewriter [71] 100.0% ------------------------------------------------------------------------ for-loop [58] 100.0% [66] 218(2.6%) 0(0.0%) *rules* ...on-both-ends/src/syntax/rules.rkt:667:0 for-loop [100] 100.0% ------------------------------------------------------------------------ random-ranges [59] 100.0% [67] 200(2.4%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [72] 100.0% ------------------------------------------------------------------------ egraph-run [62] 100.0% [68] 2024(23.9%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [74] 88.8% loop [107] 11.2% ------------------------------------------------------------------------ for-loop [63] 100.0% [69] 908(10.7%) 0(0.0%) atab-add-altn ...ends/src/core/alt-table.rkt:194:0 errors [73] 100.0% ------------------------------------------------------------------------ taylor-alt [64] 100.0% [70] 708(8.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:152:6 ??? [75] 100.0% ------------------------------------------------------------------------ rewrite-expression-head24 [65] 20.0% matcher [84] 80.0% [71] 230(2.7%) 0(0.0%) rewriter ...on-both-ends/src/core/matcher.rkt:87:2 for-loop [76] 100.0% ------------------------------------------------------------------------ build--> [67] 100.0% [72] 200(2.4%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [77] 100.0% ------------------------------------------------------------------------ for-loop [60] 10.2% .../more-scheme.rkt:261:28 [25] 22.1% for-loop [63] 22.2% atab-add-altn [69] 45.5% [73] 1994(23.5%) 0(0.0%) errors ...detection-both-ends/src/points.rkt:202:0 for-loop [79] 55.5% temp85_0 [80] 34.3% eval-prog [86] 10.2% ------------------------------------------------------------------------ egraph-add-exprs [68] 100.0% [74] 1798(21.2%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:102:6 for-loop [78] 87.5% egg-run-rules [85] 12.5% ------------------------------------------------------------------------ ??? [2] 20.9% location-do [81] 20.9% for-loop [70] 20.9% loop [43] 37.3% [75] 1130(13.3%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [83] 37.3% location-do [81] 20.9% approximate9 [3] 20.9% hash-ref! [82] 20.9% ------------------------------------------------------------------------ rewriter [71] 100.0% [76] 230(2.7%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:89:4 matcher [84] 100.0% ------------------------------------------------------------------------ coerce-contract [72] 100.0% [77] 200(2.4%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [87] 100.0% ------------------------------------------------------------------------ ??? [74] 100.0% [78] 1574(18.6%) 1574(18.6%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 ------------------------------------------------------------------------ errors [73] 100.0% [79] 1106(13.0%) 200(2.4%) for-loop ...tection-both-ends/src/points.rkt:204:2 .../more-scheme.rkt:261:28 [25] 81.9% ------------------------------------------------------------------------ eval-const-expr [27] 26.0% errors [73] 74.0% [80] 924(10.9%) 0(0.0%) temp85_0 (unknown source) compile15 [88] 100.0% ------------------------------------------------------------------------ location-do [81] 32.1% ??? [75] 67.9% [81] 708(8.3%) 0(0.0%) location-do ...ion-both-ends/src/programs.rkt:63:0 ??? [75] 67.9% location-do [81] 32.1% ------------------------------------------------------------------------ ??? [24] 6.0% for-loop [14] 7.2% ??? [89] 21.7% ??? [75] 21.7% ??? [2] 21.7% loop [12] 21.7% [82] 708(8.3%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [2] 43.4% ??? [89] 21.7% f40 [4] 15.6% ??? [5] 7.2% ??? [10] 6.0% f61 [9] 6.0% ------------------------------------------------------------------------ ??? [75] 100.0% [83] 422(5.0%) 0(0.0%) ival-mult ...n-both-ends/src/biginterval.rkt:243:0 ormap [103] 51.7% e-compute [91] 48.3% ------------------------------------------------------------------------ for-loop [15] 44.4% for-loop [76] 55.6% [84] 230(2.7%) 0(0.0%) matcher ...on-both-ends/src/core/matcher.rkt:115:2 ??? [6] 44.4% rewriter [71] 44.4% constant? [90] 11.1% ------------------------------------------------------------------------ ??? [74] 100.0% [85] 224(2.6%) 224(2.6%) egg-run-rules ...-ends/src/core/simplify.rkt:108:0 ------------------------------------------------------------------------ errors [73] 100.0% [86] 204(2.4%) 204(2.4%) eval-prog ...ction-both-ends/src/programs.rkt:82:0 ------------------------------------------------------------------------ coerce-contract/f [77] 100.0% [87] 200(2.4%) 200(2.4%) coerce-simple-value ...ract/private/guts.rkt:385:0 ------------------------------------------------------------------------ temp85_0 [80] 100.0% [88] 924(10.9%) 0(0.0%) compile15 (unknown source) temp91_0 [92] 100.0% ------------------------------------------------------------------------ hash-ref! [82] 100.0% [89] 708(8.3%) 0(0.0%) ??? ...tection-both-ends/src/core/taylor.rkt:44:15 hash-ref! [82] 100.0% ------------------------------------------------------------------------ free-variables [23] 30.7% matcher [84] 33.0% gather-additive-terms6 [33] 36.4% [90] 698(8.2%) 0(0.0%) constant? ...both-ends/src/syntax/syntax.rkt:726:0 value? [93] 100.0% ------------------------------------------------------------------------ ival-mult [83] 32.7% ival-div [56] 67.3% [91] 624(7.4%) 420(5.0%) e-compute ...n-both-ends/src/biginterval.rkt:160:0 bfdiv [94] 32.7% ------------------------------------------------------------------------ compile15 [88] 100.0% [92] 924(10.9%) 0(0.0%) temp91_0 (unknown source) temp118_0 [95] 100.0% ------------------------------------------------------------------------ constant? [90] 100.0% [93] 698(8.2%) 698(8.2%) value? ...tion-both-ends/src/syntax/types.rkt:18:0 ------------------------------------------------------------------------ e-compute [91] 100.0% [94] 204(2.4%) 0(0.0%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:835:4 new-mpfr [96] 100.0% ------------------------------------------------------------------------ temp91_0 [92] 100.0% [95] 924(10.9%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [97] 100.0% ------------------------------------------------------------------------ bfdiv [94] 100.0% [96] 204(2.4%) 204(2.4%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ------------------------------------------------------------------------ temp118_0 [95] 100.0% [97] 924(10.9%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [98] 100.0% ------------------------------------------------------------------------ expand-capturing-lifts [97] 100.0% [98] 924(10.9%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [99] 100.0% ------------------------------------------------------------------------ for-loop [100] 37.9% lambda-clause-expander [98] 62.1% [99] 924(10.9%) 0(0.0%) finish-bodys (unknown source) for-loop [100] 100.0% ------------------------------------------------------------------------ add-local-binding!39 [102] 4.4% *rules* [66] 19.1% for-loop [100] 33.9% finish-bodys [99] 42.6% [100] 1142(13.5%) 200(2.4%) for-loop (unknown source) for-loop [100] 33.9% finish-bodys [99] 22.5% ormap [103] 19.1% syntax-e [101] 11.6% add-local-binding!39 [102] 8.6% ------------------------------------------------------------------------ for-loop [100] 100.0% [101] 484(5.7%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [105] 100.0% ------------------------------------------------------------------------ for-loop [100] 100.0% [102] 440(5.2%) 240(2.8%) add-local-binding!39 (unknown source) for-loop [100] 45.5% ------------------------------------------------------------------------ for-loop [100] 50.0% ival-mult [83] 50.0% [103] 436(5.1%) 0(0.0%) ormap ....5/collects/racket/private/map.rkt:141:13 serious-immovable-endpoint? [104] 50.0% flag-set? [106] 50.0% ------------------------------------------------------------------------ ormap [103] 35.2% ival-div [56] 64.8% [104] 620(7.3%) 620(7.3%) serious-immovable-endpoint? ...ginterval.rkt:178:0 ------------------------------------------------------------------------ syntax-e [101] 100.0% [105] 484(5.7%) 0(0.0%) syntax-e/no-taint (unknown source) loop [107] 100.0% ------------------------------------------------------------------------ ormap [103] 100.0% [106] 218(2.6%) 218(2.6%) flag-set? ...tection-both-ends/src/config.rkt:28:0 ------------------------------------------------------------------------ egraph-add-exprs [68] 0.5% read-unwrapped-sequence17 [34] 1.5% loop [107] 29.8% syntax-e/no-taint [105] 68.2% [107] 710(8.4%) 0(0.0%) loop (unknown source) gf [108] 68.2% loop [107] 29.8% read-one/not-eof [7] 1.5% egg-expr->expr [8] 0.5% ------------------------------------------------------------------------ loop [107] 100.0% [108] 484(5.7%) 242(2.9%) gf (unknown source) propagation-merge [109] 50.0% ------------------------------------------------------------------------ gf [108] 100.0% [109] 242(2.9%) 242(2.9%) propagation-merge (unknown source) ------------------------------------------------------------------------