Profiling results ----------------- Total cpu time observed: 6412ms (out of 6596ms) Number of samples taken: 31 (once every 207ms) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== [1] 6412(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [8] 100.0% ------------------------------------------------------------------------ ??? [69] 100.0% [2] 1112(17.3%) 0(0.0%) approximate9 ...both-ends/src/core/taylor.rkt:11:0 loop [9] 80.6% for-loop [13] 19.4% ------------------------------------------------------------------------ hash-ref! [76] 100.0% [3] 896(14.0%) 0(0.0%) ??? ...tection-both-ends/src/core/taylor.rkt:67:15 ??? [69] 100.0% ------------------------------------------------------------------------ hash-ref! [76] 100.0% [4] 896(14.0%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:300:23 for-loop [10] 100.0% ------------------------------------------------------------------------ hash-ref! [76] 100.0% [5] 460(7.2%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [20] 100.0% ------------------------------------------------------------------------ hash-ref! [76] 100.0% [6] 436(6.8%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:290:26 for-loop [11] 100.0% ------------------------------------------------------------------------ hash-ref! [76] 100.0% [7] 416(6.5%) 0(0.0%) parse-loop15 (unknown source) map [12] 88.0% for-loop [14] 12.0% ------------------------------------------------------------------------ ??? [1] 100.0% [8] 6412(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [15] 100.0% ------------------------------------------------------------------------ approximate9 [2] 100.0% [9] 896(14.0%) 0(0.0%) loop ...tection-both-ends/src/core/taylor.rkt:86:4 hash-ref! [76] 100.0% ------------------------------------------------------------------------ ??? [4] 100.0% [10] 896(14.0%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:303:27 hash-ref! [76] 100.0% ------------------------------------------------------------------------ ??? [6] 100.0% [11] 436(6.8%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:290:52 f61 [17] 100.0% ------------------------------------------------------------------------ parse-loop15 [7] 100.0% [12] 416(6.5%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 hash-ref! [76] 100.0% ------------------------------------------------------------------------ approximate9 [2] 100.0% [13] 216(3.4%) 0(0.0%) for-loop ...on-both-ends/src/core/taylor.rkt:29:18 taylor [16] 100.0% ------------------------------------------------------------------------ parse-loop15 [7] 100.0% [14] 200(3.1%) 0(0.0%) for-loop ...-both-ends/src/core/localize.rkt:45:21 for-loop [18] 100.0% ------------------------------------------------------------------------ profile-thunk16 [8] 100.0% [15] 6412(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [19] 100.0% ------------------------------------------------------------------------ for-loop [13] 15.9% taylor [16] 31.9% hash-ref! [76] 52.2% [16] 452(7.0%) 0(0.0%) taylor ...tion-both-ends/src/core/taylor.rkt:169:0 taylor-invert [21] 52.2% taylor [16] 31.9% debug-print [22] 15.9% ------------------------------------------------------------------------ for-loop [11] 100.0% [17] 436(6.8%) 0(0.0%) f61 (unknown source) eval-const-expr [20] 100.0% ------------------------------------------------------------------------ for-loop [14] 100.0% [18] 200(3.1%) 200(3.1%) for-loop ...-both-ends/src/core/localize.rkt:46:23 ------------------------------------------------------------------------ for-loop [74] 4.7% run [15] 95.3% [19] 6412(100.0%) 598(9.3%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [23] 54.0% prepare-points-intervals [51] 28.9% get-final-combination [24] 6.2% errors [63] 3.2% eval-errors [28] 3.1% ------------------------------------------------------------------------ f61 [17] 48.7% parse-loop74 [5] 51.3% [20] 896(14.0%) 0(0.0%) eval-const-expr ...oth-ends/src/programs.rkt:120:0 temp85_0 [70] 51.3% eval-one-top12 [25] 26.8% eval [29] 21.9% ------------------------------------------------------------------------ taylor [16] 100.0% [21] 236(3.7%) 0(0.0%) taylor-invert ...th-ends/src/core/taylor.rkt:317:0 first-nonzero-exp [26] 100.0% ------------------------------------------------------------------------ taylor [16] 100.0% [22] 216(3.4%) 0(0.0%) debug-print ...ction-both-ends/src/debug.rkt:110:0 for-loop [27] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [23] 3558(55.5%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:346:0 for-loop [30] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [24] 396(6.2%) 0(0.0%) get-final-combination ...ds/src/mainloop.rkt:371:0 infer-splitpoints [32] 50.5% f33 [33] 49.5% ------------------------------------------------------------------------ eval-const-expr [20] 100.0% [25] 240(3.7%) 0(0.0%) eval-one-top12 (unknown source) for-loop [102] 100.0% ------------------------------------------------------------------------ taylor-invert [21] 100.0% [26] 236(3.7%) 0(0.0%) first-nonzero-exp ...nds/src/core/taylor.rkt:265:0 hash-ref! [76] 100.0% ------------------------------------------------------------------------ debug-print [22] 100.0% [27] 216(3.4%) 216(3.4%) for-loop ...etection-both-ends/src/debug.rkt:116:2 ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 100.0% [28] 200(3.1%) 0(0.0%) eval-errors ...tion-both-ends/src/points.rkt:181:0 for-loop [31] 100.0% ------------------------------------------------------------------------ eval-const-expr [20] 100.0% [29] 196(3.1%) 196(3.1%) eval (unknown source) ------------------------------------------------------------------------ run-improve47 [23] 100.0% [30] 3558(55.5%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:365:4 run-iter! [34] 100.0% ------------------------------------------------------------------------ eval-errors [28] 100.0% [31] 200(3.1%) 200(3.1%) for-loop ...tection-both-ends/src/points.rkt:183:2 ------------------------------------------------------------------------ get-final-combination [24] 100.0% [32] 200(3.1%) 0(0.0%) infer-splitpoints ...nds/src/core/regimes.rkt:33:0 for-loop [35] 100.0% ------------------------------------------------------------------------ get-final-combination [24] 100.0% [33] 196(3.1%) 0(0.0%) f33 (unknown source) sindices->spoints [36] 100.0% ------------------------------------------------------------------------ for-loop [30] 100.0% [34] 3558(55.5%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:327:0 gen-series! [37] 31.3% finalize-iter! [38] 27.3% simplify! [39] 24.2% localize! [40] 11.7% gen-rewrites! [42] 5.6% ------------------------------------------------------------------------ infer-splitpoints [32] 100.0% [35] 200(3.1%) 0(0.0%) for-loop ...on-both-ends/src/core/regimes.rkt:45:6 option-on-expr [41] 100.0% ------------------------------------------------------------------------ f33 [33] 100.0% [36] 196(3.1%) 0(0.0%) sindices->spoints ...ds/src/core/regimes.rkt:194:0 for-loop [43] 100.0% ------------------------------------------------------------------------ run-iter! [34] 100.0% [37] 1112(17.3%) 0(0.0%) gen-series! ...on-both-ends/src/mainloop.rkt:160:0 for-loop [44] 100.0% ------------------------------------------------------------------------ run-iter! [34] 100.0% [38] 970(15.1%) 0(0.0%) finalize-iter! ...both-ends/src/mainloop.rkt:278:0 ??? [45] 100.0% ------------------------------------------------------------------------ run-iter! [34] 100.0% [39] 862(13.4%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [46] 100.0% ------------------------------------------------------------------------ run-iter! [34] 100.0% [40] 416(6.5%) 0(0.0%) localize! ...tion-both-ends/src/mainloop.rkt:127:0 localize-error [47] 100.0% ------------------------------------------------------------------------ for-loop [35] 100.0% [41] 200(3.1%) 0(0.0%) option-on-expr ...-ends/src/core/regimes.rkt:124:0 err-lsts->split-indices [48] 100.0% ------------------------------------------------------------------------ run-iter! [34] 100.0% [42] 198(3.1%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [49] 100.0% ------------------------------------------------------------------------ sindices->spoints [36] 100.0% [43] 196(3.1%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:234:9 pred [50] 100.0% ------------------------------------------------------------------------ gen-series! [37] 100.0% [44] 1112(17.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:167:7 taylor-alt [52] 100.0% ------------------------------------------------------------------------ finalize-iter! [38] 100.0% [45] 970(15.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [53] 100.0% ------------------------------------------------------------------------ simplify! [39] 100.0% [46] 862(13.4%) 0(0.0%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [54] 100.0% ------------------------------------------------------------------------ localize! [40] 100.0% [47] 416(6.5%) 0(0.0%) localize-error ...-ends/src/core/localize.rkt:58:0 hash-ref! [76] 100.0% ------------------------------------------------------------------------ option-on-expr [41] 100.0% [48] 200(3.1%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:263:0 loop [55] 100.0% ------------------------------------------------------------------------ gen-rewrites! [42] 100.0% [49] 198(3.1%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:208:4 for-loop [56] 100.0% ------------------------------------------------------------------------ for-loop [43] 100.0% [50] 196(3.1%) 0(0.0%) pred ...ction-both-ends/src/core/regimes.rkt:204:4 prepare-points-intervals [51] 100.0% ------------------------------------------------------------------------ pred [50] 9.6% .../more-scheme.rkt:261:28 [19] 90.4% [51] 2050(32.0%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:133:0 loop [57] 90.4% ??? [66] 9.6% ------------------------------------------------------------------------ for-loop [44] 100.0% [52] 1112(17.3%) 0(0.0%) taylor-alt ...ion-both-ends/src/mainloop.rkt:146:0 for-loop [58] 100.0% ------------------------------------------------------------------------ ??? [45] 100.0% [53] 970(15.1%) 0(0.0%) for-loop ...-both-ends/src/core/alt-table.rkt:46:2 atab-add-altn [59] 100.0% ------------------------------------------------------------------------ ??? [46] 100.0% [54] 862(13.4%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [60] 100.0% ------------------------------------------------------------------------ err-lsts->split-indices [48] 100.0% [55] 200(3.1%) 0(0.0%) loop ...ction-both-ends/src/core/regimes.rkt:314:4 for-loop [61] 100.0% ------------------------------------------------------------------------ for-loop [49] 100.0% [56] 198(3.1%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:209:6 change-apply [62] 100.0% ------------------------------------------------------------------------ prepare-points-intervals [51] 100.0% [57] 1854(28.9%) 202(3.2%) loop ...w-detection-both-ends/src/points.rkt:145:4 loop [64] 66.6% ??? [66] 22.5% ------------------------------------------------------------------------ taylor-alt [52] 100.0% [58] 1112(17.3%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:152:6 ??? [69] 100.0% ------------------------------------------------------------------------ for-loop [53] 100.0% [59] 970(15.1%) 0(0.0%) atab-add-altn ...ends/src/core/alt-table.rkt:194:0 errors [63] 100.0% ------------------------------------------------------------------------ egraph-run [54] 100.0% [60] 862(13.4%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [65] 100.0% ------------------------------------------------------------------------ loop [55] 100.0% [61] 200(3.1%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:279:4 for-loop [67] 100.0% ------------------------------------------------------------------------ for-loop [56] 100.0% [62] 198(3.1%) 0(0.0%) change-apply ...oth-ends/src/core/matcher.rkt:69:0 pattern-substitute [68] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [19] 29.4% atab-add-altn [59] 70.6% [63] 1374(21.4%) 0(0.0%) errors ...detection-both-ends/src/points.rkt:203:0 temp85_0 [70] 56.5% for-loop [74] 43.5% ------------------------------------------------------------------------ loop [57] 100.0% [64] 1234(19.2%) 200(3.1%) loop ...ow-detection-both-ends/src/points.rkt:81:2 ??? [73] 48.9% ??? [69] 34.8% ------------------------------------------------------------------------ egraph-add-exprs [60] 100.0% [65] 862(13.4%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:102:6 for-loop [71] 100.0% ------------------------------------------------------------------------ prepare-points-intervals [51] 31.9% loop [57] 68.1% [66] 614(9.6%) 0(0.0%) ??? ...ow-detection-both-ends/src/points.rkt:126:6 sample-multi-bounded [72] 100.0% ------------------------------------------------------------------------ for-loop [61] 100.0% [67] 200(3.1%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:283:8 ??? [75] 100.0% ------------------------------------------------------------------------ pattern-substitute [68] 50.0% change-apply [62] 50.0% [68] 198(3.1%) 198(3.1%) pattern-substitute ...ds/src/core/matcher.rkt:45:0 pattern-substitute [68] 50.0% ------------------------------------------------------------------------ loop [93] 12.3% ??? [3] 17.0% location-do [78] 23.1% for-loop [58] 23.1% loop [64] 24.5% [69] 1758(27.4%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [81] 24.5% location-do [78] 23.1% approximate9 [2] 23.1% hash-ref! [76] 17.0% bf [82] 12.3% ------------------------------------------------------------------------ eval-const-expr [20] 37.2% errors [63] 62.8% [70] 1236(19.3%) 0(0.0%) temp85_0 (unknown source) compile15 [77] 100.0% ------------------------------------------------------------------------ ??? [65] 100.0% [71] 862(13.4%) 862(13.4%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 ------------------------------------------------------------------------ ??? [66] 100.0% [72] 614(9.6%) 0(0.0%) sample-multi-bounded ...h-ends/src/points.rkt:14:0 random-ranges [79] 100.0% ------------------------------------------------------------------------ loop [64] 100.0% [73] 604(9.4%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sub [80] 100.0% ------------------------------------------------------------------------ errors [63] 100.0% [74] 598(9.3%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:205:2 .../more-scheme.rkt:261:28 [19] 100.0% ------------------------------------------------------------------------ for-loop [67] 100.0% [75] 200(3.1%) 200(3.1%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 ------------------------------------------------------------------------ ??? [87] 3.7% first-nonzero-exp [26] 4.5% ??? [86] 5.9% localize-error [47] 9.3% ??? [85] 9.6% ??? [69] 14.1% loop [9] 14.1% for-loop [10] 16.5% map [12] 22.4% [76] 1312(20.5%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 parse-loop15 [7] 26.2% ??? [4] 16.5% ??? [3] 14.1% ??? [85] 9.6% parse-loop74 [5] 7.9% ??? [6] 6.1% ??? [86] 5.9% ??? [88] 5.5% taylor [16] 4.5% ??? [87] 3.7% ------------------------------------------------------------------------ temp85_0 [70] 100.0% [77] 1236(19.3%) 0(0.0%) compile15 (unknown source) temp91_0 [83] 100.0% ------------------------------------------------------------------------ location-do [78] 10.8% ??? [69] 89.2% [78] 1112(17.3%) 0(0.0%) location-do ...ion-both-ends/src/programs.rkt:63:0 ??? [69] 89.2% location-do [78] 10.8% ------------------------------------------------------------------------ sample-multi-bounded [72] 100.0% [79] 614(9.6%) 196(3.1%) random-ranges ...on-both-ends/src/common.rkt:164:0 build--> [89] 34.2% cons/c [90] 33.9% ------------------------------------------------------------------------ ??? [73] 100.0% [80] 604(9.4%) 0(0.0%) ival-sub ...on-both-ends/src/biginterval.rkt:216:0 e-compute7 [84] 100.0% ------------------------------------------------------------------------ ??? [69] 100.0% [81] 430(6.7%) 0(0.0%) ival-mult ...n-both-ends/src/biginterval.rkt:252:0 e-compute7 [84] 100.0% ------------------------------------------------------------------------ ??? [69] 100.0% [82] 216(3.4%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [96] 100.0% ------------------------------------------------------------------------ compile15 [77] 100.0% [83] 1236(19.3%) 200(3.1%) temp91_0 (unknown source) temp118_0 [91] 83.8% ------------------------------------------------------------------------ ival-mult [81] 41.6% ival-sub [80] 58.4% [84] 1034(16.1%) 636(9.9%) e-compute7 ...-both-ends/src/biginterval.rkt:156:0 bfsub [92] 38.5% ------------------------------------------------------------------------ hash-ref! [76] 100.0% [85] 660(10.3%) 0(0.0%) ??? ...tection-both-ends/src/core/taylor.rkt:44:15 hash-ref! [76] 100.0% ------------------------------------------------------------------------ hash-ref! [76] 100.0% [86] 420(6.6%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:343:33 hash-ref! [76] 100.0% ------------------------------------------------------------------------ hash-ref! [76] 100.0% [87] 240(3.7%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:327:33 hash-ref! [76] 100.0% ------------------------------------------------------------------------ hash-ref! [76] 100.0% [88] 216(3.4%) 0(0.0%) ??? ...ction-both-ends/src/core/localize.rkt:17:13 loop [93] 100.0% ------------------------------------------------------------------------ random-ranges [79] 100.0% [89] 210(3.3%) 210(3.3%) build--> ...act/private/arrow-val-first.rkt:1214:0 ------------------------------------------------------------------------ random-ranges [79] 100.0% [90] 208(3.2%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [94] 100.0% ------------------------------------------------------------------------ temp91_0 [83] 100.0% [91] 1036(16.2%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [95] 100.0% ------------------------------------------------------------------------ e-compute7 [84] 100.0% [92] 398(6.2%) 0(0.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:835:4 new-mpfr [96] 50.3% ??? [98] 49.7% ------------------------------------------------------------------------ ??? [88] 4.3% loop [93] 95.7% [93] 216(3.4%) 0(0.0%) loop (unknown source) loop [93] 95.7% ??? [69] 4.3% ------------------------------------------------------------------------ cons/c [90] 100.0% [94] 208(3.2%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [97] 100.0% ------------------------------------------------------------------------ temp118_0 [91] 100.0% [95] 1036(16.2%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [99] 100.0% ------------------------------------------------------------------------ bfsub [92] 48.1% bf [82] 51.9% [96] 416(6.5%) 416(6.5%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ------------------------------------------------------------------------ coerce-contract [94] 100.0% [97] 208(3.2%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [100] 100.0% ------------------------------------------------------------------------ bfsub [92] 100.0% [98] 198(3.1%) 198(3.1%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ------------------------------------------------------------------------ expand-capturing-lifts [95] 100.0% [99] 1036(16.2%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [101] 100.0% ------------------------------------------------------------------------ coerce-contract/f [97] 100.0% [100] 208(3.2%) 208(3.2%) coerce-simple-value ...ract/private/guts.rkt:385:0 ------------------------------------------------------------------------ lambda-clause-expander [99] 35.1% for-loop [102] 64.9% [101] 1036(16.2%) 0(0.0%) finish-bodys (unknown source) for-loop [102] 100.0% ------------------------------------------------------------------------ eval-one-top12 [25] 18.8% for-loop [102] 19.1% finish-bodys [101] 62.0% [102] 1276(19.9%) 428(6.7%) for-loop (unknown source) finish-bodys [101] 41.5% for-loop [102] 19.1% expand-implicit [104] 8.8% dispatch-transformer41 [103] 7.6% add-local-binding!39 [105] 3.0% ------------------------------------------------------------------------ for-loop [102] 100.0% [103] 434(6.8%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [106] 100.0% ------------------------------------------------------------------------ for-loop [102] 100.0% [104] 224(3.5%) 224(3.5%) expand-implicit (unknown source) ------------------------------------------------------------------------ for-loop [102] 100.0% [105] 190(3.0%) 190(3.0%) add-local-binding!39 (unknown source) ------------------------------------------------------------------------ dispatch-transformer41 [103] 100.0% [106] 434(6.8%) 198(3.1%) apply-transformer52 (unknown source) apply-transformer-in-context [107] 54.4% ------------------------------------------------------------------------ apply-transformer52 [106] 100.0% [107] 236(3.7%) 236(3.7%) apply-transformer-in-context (unknown source) ------------------------------------------------------------------------