Profiling results ----------------- Total cpu time observed: 5268ms (out of 5308ms) Number of samples taken: 21 (once every 251ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= [1] 5268(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [4] 100.0% ----------------------------------------------------------------------- ??? [60] 100.0% [2] 1140(21.6%) 0(0.0%) approximate9 ...ie/master/src/core/taylor.rkt:11:0 loop [5] 100.0% ----------------------------------------------------------------------- hash-ref! [8] 100.0% [3] 336(6.4%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:290:26 for-loop [6] 100.0% ----------------------------------------------------------------------- ??? [1] 100.0% [4] 5268(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ----------------------------------------------------------------------- approximate9 [2] 100.0% [5] 1140(21.6%) 0(0.0%) loop ...ies/herbie/master/src/core/taylor.rkt:86:4 hash-ref! [8] 100.0% ----------------------------------------------------------------------- ??? [3] 100.0% [6] 336(6.4%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:290:52 hash-ref! [8] 100.0% ----------------------------------------------------------------------- profile-thunk16 [4] 100.0% [7] 5268(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [9] 100.0% ----------------------------------------------------------------------- for-loop [6] 7.4% ??? [12] 7.4% ??? [60] 42.6% loop [5] 42.6% [8] 1140(21.6%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [10] 42.6% taylor-quotient [11] 25.8% taylor [14] 9.5% ??? [12] 7.4% ??? [3] 7.4% f40 [13] 7.4% ----------------------------------------------------------------------- for-loop [64] 1.9% run [7] 98.1% [9] 5268(100.0%) 204(3.9%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [15] 45.0% prepare-points-intervals [16] 26.9% get-final-combination [18] 12.1% oracle-error [22] 4.1% baseline-error [21] 4.1% get-p&es [23] 3.9% errors [59] 1.9% ----------------------------------------------------------------------- hash-ref! [8] 100.0% [10] 1140(21.6%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:67:15 ??? [60] 100.0% ----------------------------------------------------------------------- hash-ref! [8] 100.0% [11] 588(11.2%) 0(0.0%) taylor-quotient ...aster/src/core/taylor.rkt:333:0 parse-loop74 [17] 100.0% ----------------------------------------------------------------------- hash-ref! [8] 100.0% [12] 336(6.4%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:44:15 hash-ref! [8] 100.0% ----------------------------------------------------------------------- map [19] 50.0% hash-ref! [8] 50.0% [13] 336(6.4%) 0(0.0%) f40 (unknown source) map [19] 100.0% ----------------------------------------------------------------------- taylor [14] 50.0% hash-ref! [8] 50.0% [14] 216(4.1%) 0(0.0%) taylor .../herbie/master/src/core/taylor.rkt:169:0 taylor [14] 50.0% do-curry [20] 50.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [15] 2372(45.0%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:364:0 for-loop [24] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [16] 1416(26.9%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:122:0 loop [25] 100.0% ----------------------------------------------------------------------- map [19] 36.4% taylor-quotient [11] 63.6% [17] 924(17.5%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [26] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [18] 638(12.1%) 0(0.0%) get-final-combination ...er/src/mainloop.rkt:389:0 infer-splitpoints [27] 68.7% f33 [30] 31.3% ----------------------------------------------------------------------- f40 [13] 100.0% [19] 336(6.4%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 f40 [13] 50.0% parse-loop74 [17] 50.0% ----------------------------------------------------------------------- taylor [14] 100.0% [20] 216(4.1%) 216(4.1%) do-curry ...-7.5/collects/racket/function.rkt:71:2 ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [21] 216(4.1%) 0(0.0%) baseline-error ...rbie/master/src/points.rkt:183:0 argmin [28] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [22] 216(4.1%) 0(0.0%) oracle-error ...herbie/master/src/points.rkt:179:0 for-loop [29] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [9] 100.0% [23] 206(3.9%) 206(3.9%) get-p&es ...ies/herbie/master/src/sandbox.rkt:25:0 ----------------------------------------------------------------------- run-improve47 [15] 100.0% [24] 2372(45.0%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:383:4 run-iter! [31] 100.0% ----------------------------------------------------------------------- prepare-points-intervals [16] 100.0% [25] 1416(26.9%) 208(3.9%) loop ...ghtlies/herbie/master/src/points.rkt:134:4 loop [32] 57.1% ??? [34] 28.2% ----------------------------------------------------------------------- parse-loop74 [17] 100.0% [26] 924(17.5%) 0(0.0%) eval-const-expr ...e/master/src/programs.rkt:144:0 loop [77] 63.6% temp85_0 [62] 36.4% ----------------------------------------------------------------------- get-final-combination [18] 100.0% [27] 438(8.3%) 0(0.0%) infer-splitpoints ...ter/src/core/regimes.rkt:33:0 for-loop [33] 100.0% ----------------------------------------------------------------------- baseline-error [21] 100.0% [28] 216(4.1%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [35] 100.0% ----------------------------------------------------------------------- oracle-error [22] 100.0% [29] 216(4.1%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:180:2 loop [77] 100.0% ----------------------------------------------------------------------- get-final-combination [18] 100.0% [30] 200(3.8%) 0(0.0%) f33 (unknown source) sindices->spoints [36] 100.0% ----------------------------------------------------------------------- for-loop [24] 100.0% [31] 2372(45.0%) 0(0.0%) run-iter! .../herbie/master/src/mainloop.rkt:345:0 simplify! [37] 51.9% gen-series! [38] 48.1% ----------------------------------------------------------------------- loop [25] 100.0% [32] 808(15.3%) 400(7.6%) loop ...ightlies/herbie/master/src/points.rkt:79:2 real->precision [42] 25.7% ??? [43] 24.8% ----------------------------------------------------------------------- infer-splitpoints [27] 100.0% [33] 438(8.3%) 0(0.0%) for-loop ...erbie/master/src/core/regimes.rkt:45:6 option-on-expr [39] 100.0% ----------------------------------------------------------------------- loop [25] 100.0% [34] 400(7.6%) 0(0.0%) ??? ...ightlies/herbie/master/src/points.rkt:115:6 sample-multi-bounded [40] 100.0% ----------------------------------------------------------------------- argmin [28] 100.0% [35] 216(4.1%) 0(0.0%) ??? ...ghtlies/herbie/master/src/points.rkt:184:27 eval-errors [41] 100.0% ----------------------------------------------------------------------- f33 [30] 100.0% [36] 200(3.8%) 0(0.0%) sindices->spoints ...er/src/core/regimes.rkt:194:0 for-loop [44] 100.0% ----------------------------------------------------------------------- run-iter! [31] 100.0% [37] 1232(23.4%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:223:0 ??? [45] 100.0% ----------------------------------------------------------------------- run-iter! [31] 100.0% [38] 1140(21.6%) 0(0.0%) gen-series! ...erbie/master/src/mainloop.rkt:159:0 for-loop [46] 100.0% ----------------------------------------------------------------------- for-loop [33] 100.0% [39] 438(8.3%) 0(0.0%) option-on-expr ...aster/src/core/regimes.rkt:124:0 err-lsts->split-indices [47] 100.0% ----------------------------------------------------------------------- ??? [34] 100.0% [40] 400(7.6%) 0(0.0%) sample-multi-bounded ...master/src/points.rkt:14:0 for-loop [48] 100.0% ----------------------------------------------------------------------- ??? [35] 100.0% [41] 216(4.1%) 216(4.1%) eval-errors .../herbie/master/src/points.rkt:170:0 ----------------------------------------------------------------------- loop [32] 100.0% [42] 208(3.9%) 0(0.0%) real->precision .../master/src/programs.rkt:118:11 ??? [60] 100.0% ----------------------------------------------------------------------- loop [32] 100.0% [43] 200(3.8%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sqrt [49] 100.0% ----------------------------------------------------------------------- sindices->spoints [36] 100.0% [44] 200(3.8%) 0(0.0%) for-loop ...rbie/master/src/core/regimes.rkt:234:9 binary-search-floats [50] 100.0% ----------------------------------------------------------------------- simplify! [37] 100.0% [45] 1232(23.4%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:42:0 egraph-run [51] 100.0% ----------------------------------------------------------------------- gen-series! [38] 100.0% [46] 1140(21.6%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:166:7 taylor-alt [52] 100.0% ----------------------------------------------------------------------- option-on-expr [39] 100.0% [47] 438(8.3%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:263:0 loop [53] 100.0% ----------------------------------------------------------------------- sample-multi-bounded [40] 100.0% [48] 400(7.6%) 202(3.8%) for-loop ...lies/herbie/master/src/points.rkt:20:4 ??? [60] 49.5% ----------------------------------------------------------------------- ??? [43] 100.0% [49] 200(3.8%) 0(0.0%) ival-sqrt ...rbie/master/src/biginterval.rkt:205:0 bfsqrt [54] 100.0% ----------------------------------------------------------------------- for-loop [44] 100.0% [50] 200(3.8%) 0(0.0%) binary-search-floats ...src/core/regimes.rkt:176:0 pred [55] 100.0% ----------------------------------------------------------------------- ??? [45] 100.0% [51] 1232(23.4%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [56] 100.0% ----------------------------------------------------------------------- for-loop [46] 100.0% [52] 1140(21.6%) 0(0.0%) taylor-alt ...herbie/master/src/mainloop.rkt:145:0 for-loop [57] 100.0% ----------------------------------------------------------------------- err-lsts->split-indices [47] 100.0% [53] 438(8.3%) 0(0.0%) loop ...s/herbie/master/src/core/regimes.rkt:314:4 for-loop [58] 100.0% ----------------------------------------------------------------------- ival-sqrt [49] 100.0% [54] 200(3.8%) 0(0.0%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:632:4 new-mpfr [70] 100.0% ----------------------------------------------------------------------- binary-search-floats [50] 100.0% [55] 200(3.8%) 0(0.0%) pred ...s/herbie/master/src/core/regimes.rkt:204:4 errors [59] 100.0% ----------------------------------------------------------------------- egraph-run [51] 100.0% [56] 1232(23.4%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [61] 100.0% ----------------------------------------------------------------------- taylor-alt [52] 100.0% [57] 1140(21.6%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:151:6 ??? [60] 100.0% ----------------------------------------------------------------------- loop [53] 100.0% [58] 438(8.3%) 222(4.2%) for-loop ...rbie/master/src/core/regimes.rkt:279:4 for-loop [63] 49.3% ----------------------------------------------------------------------- pred [55] 49.5% .../more-scheme.rkt:261:28 [9] 50.5% [59] 404(7.7%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:192:0 for-loop [64] 50.5% temp85_0 [62] 49.5% ----------------------------------------------------------------------- for-loop [48] 12.8% real->precision [42] 13.5% ??? [10] 24.6% location-do [66] 24.6% for-loop [57] 24.6% [60] 1546(29.3%) 198(3.8%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [66] 24.6% approximate9 [2] 24.6% hash-ref! [8] 24.6% bf [68] 13.5% ----------------------------------------------------------------------- egraph-add-exprs [56] 100.0% [61] 1232(23.4%) 0(0.0%) ??? ...s/herbie/master/src/core/simplify.rkt:103:6 for-loop [65] 100.0% ----------------------------------------------------------------------- errors [59] 37.3% eval-const-expr [26] 62.7% [62] 536(10.2%) 0(0.0%) temp85_0 (unknown source) compile15 [67] 100.0% ----------------------------------------------------------------------- for-loop [58] 100.0% [63] 216(4.1%) 216(4.1%) for-loop ...rbie/master/src/core/regimes.rkt:283:8 ----------------------------------------------------------------------- errors [59] 100.0% [64] 204(3.9%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:194:2 .../more-scheme.rkt:261:28 [9] 100.0% ----------------------------------------------------------------------- ??? [61] 100.0% [65] 1232(23.4%) 1232(23.4%) for-loop ...bie/master/src/core/simplify.rkt:121:2 ----------------------------------------------------------------------- location-do [66] 14.7% ??? [60] 85.3% [66] 1140(21.6%) 0(0.0%) location-do ...herbie/master/src/programs.rkt:87:0 ??? [60] 85.3% location-do [66] 14.7% ----------------------------------------------------------------------- temp85_0 [62] 100.0% [67] 536(10.2%) 0(0.0%) compile15 (unknown source) temp91_0 [69] 100.0% ----------------------------------------------------------------------- ??? [60] 100.0% [68] 208(3.9%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [70] 100.0% ----------------------------------------------------------------------- compile15 [67] 100.0% [69] 536(10.2%) 0(0.0%) temp91_0 (unknown source) temp118_0 [71] 100.0% ----------------------------------------------------------------------- bfsqrt [54] 49.0% bf [68] 51.0% [70] 408(7.7%) 408(7.7%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ----------------------------------------------------------------------- temp91_0 [69] 100.0% [71] 536(10.2%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [72] 100.0% ----------------------------------------------------------------------- temp118_0 [71] 47.7% loop [77] 52.3% [72] 1124(21.3%) 0(0.0%) expand-capturing-lifts (unknown source) expand-id-application-form17 [73] 82.2% dispatch-transformer41 [74] 17.8% ----------------------------------------------------------------------- expand-capturing-lifts [72] 100.0% [73] 924(17.5%) 0(0.0%) expand-id-application-form17 (unknown source) resolve+shift28 [81] 63.6% syntax-e/no-taint [75] 36.4% ----------------------------------------------------------------------- expand-capturing-lifts [72] 100.0% [74] 200(3.8%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [76] 100.0% ----------------------------------------------------------------------- expand-id-application-form17 [73]100.0% [75] 336(6.4%) 0(0.0%) syntax-e/no-taint (unknown source) loop [77] 100.0% ----------------------------------------------------------------------- dispatch-transformer41 [74] 100.0% [76] 200(3.8%) 0(0.0%) apply-transformer52 (unknown source) loop [77] 100.0% ----------------------------------------------------------------------- apply-transformer52 [76] 14.9% for-loop [29] 16.1% syntax-e/no-taint [75] 25.1% eval-const-expr [26] 43.9% [77] 1340(25.4%) 0(0.0%) loop (unknown source) expand-capturing-lifts [72] 43.9% gf [78] 25.1% ??? [79] 16.1% core-form-sym [80] 14.9% ----------------------------------------------------------------------- loop [77] 100.0% [78] 336(6.4%) 336(6.4%) gf (unknown source) ----------------------------------------------------------------------- loop [77] 100.0% [79] 216(4.1%) 0(0.0%) ??? ...ghtlies/herbie/master/src/points.rkt:181:26 ulp-difference [82] 100.0% ----------------------------------------------------------------------- loop [77] 100.0% [80] 200(3.8%) 0(0.0%) core-form-sym (unknown source) resolve+shift28 [81] 100.0% ----------------------------------------------------------------------- core-form-sym [80] 25.4% expand-id-application-form17 [73] 74.6% [81] 788(15.0%) 588(11.2%) resolve+shift28 (unknown source) fallback-loop [83] 25.4% ----------------------------------------------------------------------- ??? [79] 100.0% [82] 216(4.1%) 216(4.1%) ulp-difference ...herbie/master/src/float.rkt:19:0 ----------------------------------------------------------------------- resolve+shift28 [81] 100.0% [83] 200(3.8%) 0(0.0%) fallback-loop (unknown source) for-loop [84] 100.0% ----------------------------------------------------------------------- fallback-loop [83] 100.0% [84] 200(3.8%) 200(3.8%) for-loop (unknown source) -----------------------------------------------------------------------