Profiling results ----------------- Total cpu time observed: 6562ms (out of 6660ms) Number of samples taken: 31 (once every 212ms) ==================================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================================== [1] 6562(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [8] 100.0% ------------------------------------------------------------------------------------ ??? [72] 100.0% [2] 1248(19.0%) 0(0.0%) approximate9 ...better-rr/src/core/taylor.rkt:11:0 loop [9] 88.0% for-loop [14] 12.0% ------------------------------------------------------------------------------------ hash-ref! [79] 100.0% [3] 1098(16.7%) 0(0.0%) ??? .../herbie/better-rr/src/core/taylor.rkt:67:15 ??? [72] 55.4% hash-ref! [79] 44.6% ------------------------------------------------------------------------------------ map [35] 32.9% hash-ref! [79] 67.1% [4] 570(8.7%) 0(0.0%) f40 (unknown source) map [35] 100.0% ------------------------------------------------------------------------------------ hash-ref! [79] 100.0% [5] 498(7.6%) 0(0.0%) ??? ...herbie/better-rr/src/core/taylor.rkt:290:26 for-loop [10] 100.0% ------------------------------------------------------------------------------------ hash-ref! [79] 100.0% [6] 430(6.6%) 0(0.0%) taylor ...rbie/better-rr/src/core/taylor.rkt:169:0 taylor-invert [11] 57.2% debug5 [12] 42.8% ------------------------------------------------------------------------------------ simplify-node [43] 100.0% [7] 180(2.7%) 0(0.0%) gather-additive-terms6 ...src/core/reduce.rkt:67:0 parse-loop389 [13] 100.0% ------------------------------------------------------------------------------------ ??? [1] 100.0% [8] 6562(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [15] 100.0% ------------------------------------------------------------------------------------ approximate9 [2] 100.0% [9] 1098(16.7%) 0(0.0%) loop .../herbie/better-rr/src/core/taylor.rkt:86:4 hash-ref! [79] 100.0% ------------------------------------------------------------------------------------ ??? [5] 100.0% [10] 498(7.6%) 0(0.0%) for-loop ...e/better-rr/src/core/taylor.rkt:290:52 simplify-node [43] 36.1% f61 [19] 32.9% ??? [20] 30.9% ------------------------------------------------------------------------------------ taylor [6] 100.0% [11] 246(3.7%) 0(0.0%) taylor-invert ...tter-rr/src/core/taylor.rkt:317:0 first-nonzero-exp [16] 100.0% ------------------------------------------------------------------------------------ taylor [6] 100.0% [12] 184(2.8%) 0(0.0%) debug5 ...ies/herbie/better-rr/src/debug.rkt:102:0 return/no-unsupplied [17] 100.0% ------------------------------------------------------------------------------------ gather-additive-terms6 [7] 100.0% [13] 180(2.7%) 0(0.0%) parse-loop389 (unknown source) for-loop [18] 100.0% ------------------------------------------------------------------------------------ approximate9 [2] 100.0% [14] 150(2.3%) 0(0.0%) for-loop ...bie/better-rr/src/core/taylor.rkt:19:9 ??? [40] 100.0% ------------------------------------------------------------------------------------ profile-thunk16 [8] 100.0% [15] 6562(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [21] 100.0% ------------------------------------------------------------------------------------ taylor-invert [11] 100.0% [16] 246(3.7%) 0(0.0%) first-nonzero-exp ...-rr/src/core/taylor.rkt:265:0 hash-ref! [79] 100.0% ------------------------------------------------------------------------------------ debug5 [12] 100.0% [17] 184(2.8%) 184(2.8%) return/no-unsupplied ...ct/private/arr-i.rkt:566:0 ------------------------------------------------------------------------------------ parse-loop389 [13] 100.0% [18] 180(2.7%) 0(0.0%) for-loop ...ie/better-rr/src/core/reduce.rkt:94:13 simplify-node [43] 100.0% ------------------------------------------------------------------------------------ for-loop [10] 100.0% [19] 164(2.5%) 0(0.0%) f61 (unknown source) eval-const-expr [49] 100.0% ------------------------------------------------------------------------------------ for-loop [10] 100.0% [20] 154(2.3%) 0(0.0%) ??? ...herbie/better-rr/src/core/taylor.rkt:293:19 hash-ref! [79] 100.0% ------------------------------------------------------------------------------------ for-loop [73] 3.4% run [15] 96.6% [21] 6562(100.0%) 442(6.7%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [22] 45.1% prepare-points-intervals [23] 29.0% get-final-combination [24] 12.6% errors [67] 6.5% oracle-error [25] 3.4% ------------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [21] 100.0% [22] 2960(45.1%) 0(0.0%) run-improve47 .../better-rr/src/mainloop.rkt:364:0 for-loop [26] 100.0% ------------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [21] 100.0% [23] 1904(29.0%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:122:0 loop [27] 100.0% ------------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [21] 100.0% [24] 830(12.6%) 0(0.0%) get-final-combination ...rr/src/mainloop.rkt:389:0 infer-splitpoints [28] 43.9% f33 [29] 29.2% ??? [30] 27.0% ------------------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [21] 100.0% [25] 222(3.4%) 0(0.0%) oracle-error ...bie/better-rr/src/points.rkt:179:0 for-loop [31] 100.0% ------------------------------------------------------------------------------------ run-improve47 [22] 100.0% [26] 2960(45.1%) 0(0.0%) for-loop ...erbie/better-rr/src/mainloop.rkt:383:4 run-iter! [32] 100.0% ------------------------------------------------------------------------------------ prepare-points-intervals [23] 100.0% [27] 1904(29.0%) 0(0.0%) loop ...lies/herbie/better-rr/src/points.rkt:134:4 loop [33] 56.2% ??? [34] 43.8% ------------------------------------------------------------------------------------ get-final-combination [24] 100.0% [28] 364(5.5%) 0(0.0%) infer-splitpoints ...-rr/src/core/regimes.rkt:33:0 for-loop [36] 100.0% ------------------------------------------------------------------------------------ get-final-combination [24] 100.0% [29] 242(3.7%) 0(0.0%) f33 (unknown source) sindices->spoints [37] 100.0% ------------------------------------------------------------------------------------ get-final-combination [24] 100.0% [30] 224(3.4%) 0(0.0%) ??? ...herbie/better-rr/src/core/simplify.rkt:38:0 ??? [47] 100.0% ------------------------------------------------------------------------------------ oracle-error [25] 100.0% [31] 222(3.4%) 0(0.0%) for-loop .../herbie/better-rr/src/points.rkt:180:2 map [35] 100.0% ------------------------------------------------------------------------------------ for-loop [26] 100.0% [32] 2960(45.1%) 0(0.0%) run-iter! ...rbie/better-rr/src/mainloop.rkt:345:0 simplify! [38] 57.8% gen-series! [39] 42.2% ------------------------------------------------------------------------------------ loop [27] 100.0% [33] 1070(16.3%) 222(3.4%) loop ...tlies/herbie/better-rr/src/points.rkt:79:2 ??? [72] 40.2% ??? [40] 20.6% real->precision [46] 18.5% ------------------------------------------------------------------------------------ loop [27] 100.0% [34] 834(12.7%) 206(3.1%) ??? ...tlies/herbie/better-rr/src/points.rkt:115:6 loop [80] 50.6% ??? [40] 24.7% ------------------------------------------------------------------------------------ for-loop [31] 28.0% f40 [4] 72.0% [35] 792(12.1%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 parse-loop74 [41] 41.8% ??? [45] 28.0% f40 [4] 23.7% simplify-node [43] 6.5% ------------------------------------------------------------------------------------ infer-splitpoints [28] 100.0% [36] 364(5.5%) 0(0.0%) for-loop ...ie/better-rr/src/core/regimes.rkt:45:6 option-on-expr [42] 100.0% ------------------------------------------------------------------------------------ f33 [29] 100.0% [37] 242(3.7%) 0(0.0%) sindices->spoints ...rr/src/core/regimes.rkt:194:0 for-loop [44] 100.0% ------------------------------------------------------------------------------------ run-iter! [32] 100.0% [38] 1712(26.1%) 0(0.0%) simplify! ...rbie/better-rr/src/mainloop.rkt:223:0 ??? [47] 100.0% ------------------------------------------------------------------------------------ run-iter! [32] 100.0% [39] 1248(19.0%) 0(0.0%) gen-series! ...ie/better-rr/src/mainloop.rkt:159:0 for-loop [48] 100.0% ------------------------------------------------------------------------------------ for-loop [14] 26.0% ??? [34] 35.8% loop [33] 38.2% [40] 576(8.8%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sub [53] 38.2% ??? [54] 35.8% f307 [55] 26.0% ------------------------------------------------------------------------------------ map [35] 100.0% [41] 416(6.3%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [49] 100.0% ------------------------------------------------------------------------------------ for-loop [36] 100.0% [42] 364(5.5%) 0(0.0%) option-on-expr ...er-rr/src/core/regimes.rkt:124:0 err-lsts->split-indices [50] 100.0% ------------------------------------------------------------------------------------ for-loop [18] 26.9% for-loop [10] 26.9% map [35] 46.1% [43] 334(5.1%) 0(0.0%) simplify-node ...etter-rr/src/core/reduce.rkt:45:0 combine-mterms [51] 73.1% gather-additive-terms6 [7] 26.9% ------------------------------------------------------------------------------------ sindices->spoints [37] 100.0% [44] 242(3.7%) 0(0.0%) for-loop ...e/better-rr/src/core/regimes.rkt:234:9 binary-search-floats [52] 100.0% ------------------------------------------------------------------------------------ map [35] 100.0% [45] 222(3.4%) 222(3.4%) ??? ...lies/herbie/better-rr/src/points.rkt:181:26 ------------------------------------------------------------------------------------ loop [33] 100.0% [46] 198(3.0%) 0(0.0%) real->precision ...tter-rr/src/programs.rkt:118:11 ??? [72] 100.0% ------------------------------------------------------------------------------------ ??? [30] 11.6% simplify! [38] 88.4% [47] 1936(29.5%) 0(0.0%) ??? ...herbie/better-rr/src/core/simplify.rkt:42:0 egraph-run [56] 100.0% ------------------------------------------------------------------------------------ gen-series! [39] 100.0% [48] 1248(19.0%) 0(0.0%) for-loop ...erbie/better-rr/src/mainloop.rkt:166:7 taylor-alt [57] 100.0% ------------------------------------------------------------------------------------ f61 [19] 28.3% parse-loop74 [41] 71.7% [49] 580(8.8%) 0(0.0%) eval-const-expr ...etter-rr/src/programs.rkt:144:0 temp85_0 [74] 42.4% eval [61] 29.3% eval-one-top12 [62] 28.3% ------------------------------------------------------------------------------------ option-on-expr [42] 100.0% [50] 364(5.5%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:263:0 loop [58] 100.0% ------------------------------------------------------------------------------------ simplify-node [43] 100.0% [51] 334(5.1%) 180(2.7%) combine-mterms ...ter-rr/src/core/reduce.rkt:192:0 for-loop [63] 46.1% ------------------------------------------------------------------------------------ for-loop [44] 100.0% [52] 242(3.7%) 0(0.0%) binary-search-floats ...src/core/regimes.rkt:176:0 pred [59] 100.0% ------------------------------------------------------------------------------------ ??? [40] 100.0% [53] 220(3.4%) 0(0.0%) ival-sub ...ie/better-rr/src/biginterval.rkt:117:0 bfmul [87] 100.0% ------------------------------------------------------------------------------------ ??? [40] 100.0% [54] 206(3.1%) 0(0.0%) ??? ...ects/racket/contract/private/prop.rkt:567:4 ??? [60] 100.0% ------------------------------------------------------------------------------------ ??? [40] 100.0% [55] 150(2.3%) 0(0.0%) f307 (unknown source) do-curry [64] 100.0% ------------------------------------------------------------------------------------ ??? [47] 100.0% [56] 1936(29.5%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [65] 100.0% ------------------------------------------------------------------------------------ for-loop [48] 100.0% [57] 1248(19.0%) 0(0.0%) taylor-alt ...bie/better-rr/src/mainloop.rkt:145:0 for-loop [66] 100.0% ------------------------------------------------------------------------------------ err-lsts->split-indices [50] 100.0% [58] 364(5.5%) 0(0.0%) loop ...erbie/better-rr/src/core/regimes.rkt:314:4 for-loop [68] 100.0% ------------------------------------------------------------------------------------ binary-search-floats [52] 100.0% [59] 242(3.7%) 0(0.0%) pred ...erbie/better-rr/src/core/regimes.rkt:204:4 errors [67] 100.0% ------------------------------------------------------------------------------------ ??? [54] 100.0% [60] 206(3.1%) 0(0.0%) ??? ...lects/racket/contract/private/orc.rkt:83:14 ??? [69] 100.0% ------------------------------------------------------------------------------------ eval-const-expr [49] 100.0% [61] 170(2.6%) 0(0.0%) eval (unknown source) add-ns-scopes [70] 100.0% ------------------------------------------------------------------------------------ eval-const-expr [49] 100.0% [62] 164(2.5%) 0(0.0%) eval-one-top12 (unknown source) for-loop [103] 100.0% ------------------------------------------------------------------------------------ combine-mterms [51] 100.0% [63] 154(2.3%) 154(2.3%) for-loop ...ie/better-rr/src/core/reduce.rkt:196:5 ------------------------------------------------------------------------------------ f307 [55] 100.0% [64] 150(2.3%) 150(2.3%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ------------------------------------------------------------------------------------ egraph-run [56] 100.0% [65] 1936(29.5%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [71] 100.0% ------------------------------------------------------------------------------------ taylor-alt [57] 100.0% [66] 1248(19.0%) 0(0.0%) for-loop ...erbie/better-rr/src/mainloop.rkt:151:6 ??? [72] 100.0% ------------------------------------------------------------------------------------ pred [59] 27.3% .../more-scheme.rkt:261:28 [21] 72.7% [67] 888(13.5%) 0(0.0%) errors ...es/herbie/better-rr/src/points.rkt:192:0 for-loop [73] 72.7% temp85_0 [74] 27.3% ------------------------------------------------------------------------------------ loop [58] 100.0% [68] 364(5.5%) 0(0.0%) for-loop ...e/better-rr/src/core/regimes.rkt:279:4 for-loop [75] 100.0% ------------------------------------------------------------------------------------ ??? [60] 100.0% [69] 206(3.1%) 206(3.1%) ??? ...ects/racket/contract/private/list.rkt:163:5 ------------------------------------------------------------------------------------ eval [61] 100.0% [70] 170(2.6%) 0(0.0%) add-ns-scopes (unknown source) gf [76] 100.0% ------------------------------------------------------------------------------------ egraph-add-exprs [65] 100.0% [71] 1936(29.5%) 0(0.0%) ??? ...erbie/better-rr/src/core/simplify.rkt:103:6 for-loop [77] 88.4% egg-run-rules [83] 11.6% ------------------------------------------------------------------------------------ real->precision [46] 10.6% ??? [3] 19.5% loop [33] 22.9% location-do [78] 23.5% for-loop [66] 23.5% [72] 1876(28.6%) 198(3.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [78] 23.5% approximate9 [2] 23.5% ival-mult [82] 22.9% hash-ref! [79] 19.5% ------------------------------------------------------------------------------------ errors [67] 100.0% [73] 646(9.8%) 204(3.1%) for-loop .../herbie/better-rr/src/points.rkt:194:2 .../more-scheme.rkt:261:28 [21] 68.4% ------------------------------------------------------------------------------------ errors [67] 49.6% eval-const-expr [49] 50.4% [74] 488(7.4%) 0(0.0%) temp85_0 (unknown source) compile15 [81] 100.0% ------------------------------------------------------------------------------------ for-loop [68] 100.0% [75] 364(5.5%) 160(2.4%) for-loop ...e/better-rr/src/core/regimes.rkt:283:8 ??? [84] 56.0% ------------------------------------------------------------------------------------ add-ns-scopes [70] 100.0% [76] 170(2.6%) 0(0.0%) gf (unknown source) loop [80] 100.0% ------------------------------------------------------------------------------------ ??? [71] 100.0% [77] 1712(26.1%) 1712(26.1%) for-loop .../better-rr/src/core/simplify.rkt:121:2 ------------------------------------------------------------------------------------ location-do [78] 23.9% ??? [72] 76.1% [78] 1248(19.0%) 0(0.0%) location-do ...bie/better-rr/src/programs.rkt:87:0 ??? [72] 76.1% location-do [78] 23.9% ------------------------------------------------------------------------------------ ??? [20] 2.3% ??? [88] 5.3% first-nonzero-exp [16] 5.6% ??? [85] 14.7% ??? [3] 23.2% ??? [72] 24.5% loop [9] 24.5% [79] 1098(16.7%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [3] 47.6% ??? [85] 14.7% f40 [4] 11.8% ??? [5] 10.8% taylor [6] 9.8% ??? [88] 5.3% ------------------------------------------------------------------------------------ loop [80] 14.4% gf [76] 14.4% ??? [34] 71.3% [80] 592(9.0%) 388(5.9%) loop (unknown source) sample-multi-bounded [90] 34.5% loop [80] 14.4% ------------------------------------------------------------------------------------ temp85_0 [74] 100.0% [81] 488(7.4%) 0(0.0%) compile15 (unknown source) temp91_0 [86] 100.0% ------------------------------------------------------------------------------------ ??? [72] 100.0% [82] 430(6.6%) 216(3.3%) ival-mult ...e/better-rr/src/biginterval.rkt:129:0 bfmul [87] 49.8% ------------------------------------------------------------------------------------ ??? [71] 100.0% [83] 224(3.4%) 0(0.0%) egg-run-rules ...er-rr/src/core/simplify.rkt:109:0 debug-print [89] 100.0% ------------------------------------------------------------------------------------ for-loop [75] 100.0% [84] 204(3.1%) 204(3.1%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 ------------------------------------------------------------------------------------ hash-ref! [79] 100.0% [85] 668(10.2%) 0(0.0%) ??? .../herbie/better-rr/src/core/taylor.rkt:44:15 hash-ref! [79] 100.0% ------------------------------------------------------------------------------------ compile15 [81] 100.0% [86] 488(7.4%) 0(0.0%) temp91_0 (unknown source) temp118_0 [91] 100.0% ------------------------------------------------------------------------------------ ival-mult [82] 49.3% ival-sub [53] 50.7% [87] 434(6.6%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 new-mpfr [92] 100.0% ------------------------------------------------------------------------------------ hash-ref! [79] 100.0% [88] 318(4.8%) 0(0.0%) ??? ...herbie/better-rr/src/core/taylor.rkt:343:33 hash-ref! [79] 100.0% ------------------------------------------------------------------------------------ egg-run-rules [83] 100.0% [89] 224(3.4%) 0(0.0%) debug-print ...erbie/better-rr/src/debug.rkt:110:0 for-loop [93] 100.0% ------------------------------------------------------------------------------------ loop [80] 100.0% [90] 204(3.1%) 0(0.0%) sample-multi-bounded ...ter-rr/src/points.rkt:14:0 random-ranges [94] 100.0% ------------------------------------------------------------------------------------ temp91_0 [86] 100.0% [91] 488(7.4%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [95] 100.0% ------------------------------------------------------------------------------------ bfmul [87] 100.0% [92] 434(6.6%) 434(6.6%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ------------------------------------------------------------------------------------ debug-print [89] 100.0% [93] 224(3.4%) 224(3.4%) for-loop ...s/herbie/better-rr/src/debug.rkt:116:2 ------------------------------------------------------------------------------------ sample-multi-bounded [90] 100.0% [94] 204(3.1%) 0(0.0%) random-ranges ...ie/better-rr/src/common.rkt:164:0 cons/c [96] 100.0% ------------------------------------------------------------------------------------ temp118_0 [91] 100.0% [95] 488(7.4%) 0(0.0%) expand-capturing-lifts (unknown source) dispatch-transformer41 [97] 50.4% lambda-clause-expander [98] 49.6% ------------------------------------------------------------------------------------ random-ranges [94] 100.0% [96] 204(3.1%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [99] 100.0% ------------------------------------------------------------------------------------ expand-capturing-lifts [95] 100.0% [97] 246(3.7%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [100] 100.0% ------------------------------------------------------------------------------------ expand-capturing-lifts [95] 100.0% [98] 242(3.7%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [101] 100.0% ------------------------------------------------------------------------------------ cons/c [96] 100.0% [99] 204(3.1%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [102] 100.0% ------------------------------------------------------------------------------------ dispatch-transformer41 [97] 100.0% [100] 246(3.7%) 0(0.0%) apply-transformer52 (unknown source) syntax-remove-taint-dispatch-properties [104]100.0% ------------------------------------------------------------------------------------ lambda-clause-expander [98] 12.5% for-loop [103] 87.5% [101] 242(3.7%) 0(0.0%) finish-bodys (unknown source) for-loop [103] 100.0% ------------------------------------------------------------------------------------ coerce-contract [99] 100.0% [102] 204(3.1%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [105] 100.0% ------------------------------------------------------------------------------------ for-loop [103] 11.9% eval-one-top12 [62] 40.4% finish-bodys [101] 47.7% [103] 406(6.2%) 164(2.5%) for-loop (unknown source) finish-bodys [101] 41.7% for-loop [103] 11.9% expand-implicit [106] 6.0% ------------------------------------------------------------------------------------ apply-transformer52 [100] 100.0% [104] 246(3.7%) 246(3.7%) syntax-remove-taint-dispatch-properties ...source) ------------------------------------------------------------------------------------ coerce-contract/f [102] 100.0% [105] 204(3.1%) 204(3.1%) coerce-simple-value ...ract/private/guts.rkt:385:0 ------------------------------------------------------------------------------------ for-loop [103] 100.0% [106] 242(3.7%) 0(0.0%) expand-implicit (unknown source) resolve+shift28 [107] 100.0% ------------------------------------------------------------------------------------ expand-implicit [106] 100.0% [107] 242(3.7%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [108] 100.0% ------------------------------------------------------------------------------------ resolve+shift28 [107] 100.0% [108] 242(3.7%) 242(3.7%) fallback-loop (unknown source) ------------------------------------------------------------------------------------