Profiling results ----------------- Total cpu time observed: 3830ms (out of 4024ms) Number of samples taken: 23 (once every 167ms) ============================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ============================================================================= [1] 3830(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [8] 100.0% ----------------------------------------------------------------------------- ??? [58] 100.0% [2] 630(16.4%) 0(0.0%) approximate9 ...ie/master/src/core/taylor.rkt:11:0 loop [9] 74.9% for-loop [11] 25.1% ----------------------------------------------------------------------------- hash-ref! [65] 100.0% [3] 170(4.4%) 0(0.0%) parse-loop15 (unknown source) map [10] 100.0% ----------------------------------------------------------------------------- hash-ref! [65] 100.0% [4] 154(4.0%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:67:15 ??? [58] 100.0% ----------------------------------------------------------------------------- hash-ref! [65] 100.0% [5] 154(4.0%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:300:23 for-loop [12] 100.0% ----------------------------------------------------------------------------- simplify-node [71] 100.0% [6] 152(4.0%) 0(0.0%) append-map ...t-7.5/collects/racket/list.rkt:586:2 parse-loop368 [13] 100.0% ----------------------------------------------------------------------------- for-loop [87] 100.0% [7] 152(4.0%) 0(0.0%) expand-implicit (unknown source) resolve+shift28 [14] 100.0% ----------------------------------------------------------------------------- ??? [1] 100.0% [8] 3830(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [15] 100.0% ----------------------------------------------------------------------------- approximate9 [2] 100.0% [9] 472(12.3%) 0(0.0%) loop ...ies/herbie/master/src/core/taylor.rkt:86:4 ??? [58] 67.4% hash-ref! [65] 32.6% ----------------------------------------------------------------------------- f40 [70] 48.5% parse-loop15 [3] 51.5% [10] 330(8.6%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 hash-ref! [65] 51.5% f40 [70] 48.5% ----------------------------------------------------------------------------- approximate9 [2] 100.0% [11] 158(4.1%) 0(0.0%) for-loop ...erbie/master/src/core/taylor.rkt:29:18 taylor [16] 100.0% ----------------------------------------------------------------------------- ??? [5] 100.0% [12] 154(4.0%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:303:27 hash-ref! [65] 100.0% ----------------------------------------------------------------------------- append-map [6] 100.0% [13] 152(4.0%) 0(0.0%) parse-loop368 (unknown source) simplify-node [71] 100.0% ----------------------------------------------------------------------------- expand-implicit [7] 100.0% [14] 152(4.0%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [17] 100.0% ----------------------------------------------------------------------------- profile-thunk16 [8] 100.0% [15] 3830(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [18] 100.0% ----------------------------------------------------------------------------- taylor [16] 50.0% for-loop [11] 50.0% [16] 158(4.1%) 0(0.0%) taylor .../herbie/master/src/core/taylor.rkt:169:0 taylor [16] 50.0% taylor-cbrt [19] 50.0% ----------------------------------------------------------------------------- resolve+shift28 [14] 100.0% [17] 152(4.0%) 0(0.0%) fallback-loop (unknown source) for-loop [87] 100.0% ----------------------------------------------------------------------------- for-loop [63] 8.7% run [15] 91.3% [18] 3830(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [20] 57.8% prepare-points-intervals [21] 21.8% ??? [23] 6.0% oracle-error [24] 5.1% get-final-combination [25] 4.0% errors [59] 2.7% ??? [58] 2.7% ----------------------------------------------------------------------------- taylor [16] 100.0% [19] 158(4.1%) 0(0.0%) taylor-cbrt ...ie/master/src/core/taylor.rkt:377:0 parse-loop74 [22] 100.0% ----------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 100.0% [20] 2444(63.8%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:364:0 for-loop [26] 100.0% ----------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 100.0% [21] 836(21.8%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:122:0 loop [27] 100.0% ----------------------------------------------------------------------------- taylor-cbrt [19] 25.1% hash-ref! [65] 74.9% [22] 630(16.4%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [28] 100.0% ----------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 100.0% [23] 462(12.1%) 462(12.1%) ??? .../herbie/master/src/syntax/syntax.rkt:214:17 ----------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 100.0% [24] 194(5.1%) 0(0.0%) oracle-error ...herbie/master/src/points.rkt:179:0 for-loop [29] 100.0% ----------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [18] 100.0% [25] 152(4.0%) 0(0.0%) get-final-combination ...er/src/mainloop.rkt:389:0 infer-splitpoints [30] 100.0% ----------------------------------------------------------------------------- run-improve47 [20] 100.0% [26] 2444(63.8%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:383:4 run-iter! [31] 100.0% ----------------------------------------------------------------------------- prepare-points-intervals [21] 100.0% [27] 836(21.8%) 0(0.0%) loop ...ghtlies/herbie/master/src/points.rkt:134:4 loop [32] 62.0% ??? [33] 38.0% ----------------------------------------------------------------------------- parse-loop74 [22] 100.0% [28] 630(16.4%) 152(4.0%) eval-const-expr ...e/master/src/programs.rkt:144:0 temp85_0 [66] 75.9% ----------------------------------------------------------------------------- oracle-error [24] 100.0% [29] 194(5.1%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:180:2 argmin [34] 100.0% ----------------------------------------------------------------------------- get-final-combination [25] 100.0% [30] 152(4.0%) 0(0.0%) infer-splitpoints ...ter/src/core/regimes.rkt:33:0 for-loop [35] 100.0% ----------------------------------------------------------------------------- for-loop [26] 100.0% [31] 2444(63.8%) 0(0.0%) run-iter! .../herbie/master/src/mainloop.rkt:345:0 gen-series! [36] 38.5% simplify! [37] 29.4% finalize-iter! [38] 25.1% localize! [41] 7.0% ----------------------------------------------------------------------------- loop [27] 100.0% [32] 518(13.5%) 166(4.3%) loop ...ightlies/herbie/master/src/points.rkt:79:2 real->precision [40] 35.5% ??? [58] 32.4% ----------------------------------------------------------------------------- loop [27] 100.0% [33] 318(8.3%) 0(0.0%) ??? ...ightlies/herbie/master/src/points.rkt:115:6 sample-multi-bounded [39] 100.0% ----------------------------------------------------------------------------- for-loop [29] 100.0% [34] 194(5.1%) 194(5.1%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ----------------------------------------------------------------------------- infer-splitpoints [30] 100.0% [35] 152(4.0%) 0(0.0%) for-loop ...erbie/master/src/core/regimes.rkt:45:6 option-on-expr [42] 100.0% ----------------------------------------------------------------------------- run-iter! [31] 100.0% [36] 942(24.6%) 0(0.0%) gen-series! ...erbie/master/src/mainloop.rkt:159:0 for-loop [43] 100.0% ----------------------------------------------------------------------------- run-iter! [31] 100.0% [37] 718(18.7%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:223:0 ??? [44] 100.0% ----------------------------------------------------------------------------- run-iter! [31] 100.0% [38] 614(16.0%) 0(0.0%) finalize-iter! ...ie/master/src/mainloop.rkt:277:0 ??? [45] 100.0% ----------------------------------------------------------------------------- ??? [33] 100.0% [39] 318(8.3%) 0(0.0%) sample-multi-bounded ...master/src/points.rkt:14:0 random-ranges [46] 100.0% ----------------------------------------------------------------------------- loop [32] 100.0% [40] 184(4.8%) 0(0.0%) real->precision .../master/src/programs.rkt:118:11 ??? [58] 100.0% ----------------------------------------------------------------------------- run-iter! [31] 100.0% [41] 170(4.4%) 0(0.0%) localize! .../herbie/master/src/mainloop.rkt:126:0 localize-error [47] 100.0% ----------------------------------------------------------------------------- for-loop [35] 100.0% [42] 152(4.0%) 0(0.0%) option-on-expr ...aster/src/core/regimes.rkt:124:0 for-loop [48] 100.0% ----------------------------------------------------------------------------- gen-series! [36] 100.0% [43] 942(24.6%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:166:7 taylor-alt [49] 100.0% ----------------------------------------------------------------------------- simplify! [37] 100.0% [44] 718(18.7%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:42:0 egraph-run [50] 100.0% ----------------------------------------------------------------------------- finalize-iter! [38] 100.0% [45] 614(16.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [51] 100.0% ----------------------------------------------------------------------------- sample-multi-bounded [39] 100.0% [46] 318(8.3%) 0(0.0%) random-ranges ...erbie/master/src/common.rkt:164:0 cons/c [52] 52.2% build--> [53] 47.8% ----------------------------------------------------------------------------- localize! [41] 100.0% [47] 170(4.4%) 0(0.0%) localize-error ...aster/src/core/localize.rkt:57:0 hash-ref! [65] 100.0% ----------------------------------------------------------------------------- option-on-expr [42] 100.0% [48] 152(4.0%) 0(0.0%) for-loop ...rbie/master/src/core/regimes.rkt:135:4 errors [59] 100.0% ----------------------------------------------------------------------------- for-loop [43] 100.0% [49] 942(24.6%) 0(0.0%) taylor-alt ...herbie/master/src/mainloop.rkt:145:0 for-loop [54] 100.0% ----------------------------------------------------------------------------- ??? [44] 100.0% [50] 718(18.7%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [55] 100.0% ----------------------------------------------------------------------------- ??? [45] 100.0% [51] 614(16.0%) 0(0.0%) for-loop ...ie/master/src/core/alt-table.rkt:192:2 atab-add-altn [57] 50.8% errors [59] 49.2% ----------------------------------------------------------------------------- random-ranges [46] 100.0% [52] 166(4.3%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [56] 100.0% ----------------------------------------------------------------------------- random-ranges [46] 100.0% [53] 152(4.0%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [56] 100.0% ----------------------------------------------------------------------------- taylor-alt [49] 100.0% [54] 942(24.6%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:151:6 ??? [58] 100.0% ----------------------------------------------------------------------------- egraph-run [50] 100.0% [55] 718(18.7%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [60] 100.0% ----------------------------------------------------------------------------- build--> [53] 47.8% cons/c [52] 52.2% [56] 318(8.3%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [61] 100.0% ----------------------------------------------------------------------------- for-loop [51] 100.0% [57] 312(8.1%) 0(0.0%) atab-add-altn ...ster/src/core/alt-table.rkt:195:0 errors [59] 100.0% ----------------------------------------------------------------------------- ??? [4] 3.4% loop [9] 7.1% loop [32] 11.2% real->precision [40] 12.3% .../more-scheme.rkt:261:28 [18] 13.6% location-do [62] 26.2% for-loop [54] 26.2% [58] 1498(39.1%) 204(5.3%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [62] 26.2% approximate9 [2] 15.8% bf [68] 12.3% ival-mult [69] 11.2% hash-ref! [65] 10.5% f40 [70] 5.3% simplify-node [71] 5.1% ----------------------------------------------------------------------------- for-loop [48] 15.7% .../more-scheme.rkt:261:28 [18] 21.0% for-loop [51] 31.1% atab-add-altn [57] 32.2% [59] 970(25.3%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:192:0 for-loop [63] 84.3% temp85_0 [66] 15.7% ----------------------------------------------------------------------------- egraph-add-exprs [55] 100.0% [60] 718(18.7%) 0(0.0%) ??? ...s/herbie/master/src/core/simplify.rkt:103:6 for-loop [64] 100.0% ----------------------------------------------------------------------------- coerce-contract [56] 100.0% [61] 318(8.3%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [67] 100.0% ----------------------------------------------------------------------------- location-do [62] 17.3% ??? [58] 82.7% [62] 942(24.6%) 0(0.0%) location-do ...herbie/master/src/programs.rkt:87:0 ??? [58] 82.7% location-do [62] 17.3% ----------------------------------------------------------------------------- errors [59] 100.0% [63] 818(21.4%) 152(4.0%) for-loop ...ies/herbie/master/src/points.rkt:194:2 .../more-scheme.rkt:261:28 [18] 81.4% ----------------------------------------------------------------------------- ??? [60] 100.0% [64] 718(18.7%) 718(18.7%) for-loop ...bie/master/src/core/simplify.rkt:121:2 ----------------------------------------------------------------------------- for-loop [12] 6.0% loop [9] 6.0% localize-error [47] 6.6% map [10] 19.9% ??? [73] 30.8% ??? [58] 30.8% [65] 642(16.8%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [73] 30.8% parse-loop74 [22] 30.8% parse-loop15 [3] 19.9% ??? [74] 6.6% ??? [4] 6.0% ??? [5] 6.0% ----------------------------------------------------------------------------- errors [59] 24.1% eval-const-expr [28] 75.9% [66] 630(16.4%) 0(0.0%) temp85_0 (unknown source) compile15 [72] 100.0% ----------------------------------------------------------------------------- coerce-contract/f [61] 100.0% [67] 318(8.3%) 318(8.3%) coerce-simple-value ...ract/private/guts.rkt:385:0 ----------------------------------------------------------------------------- ??? [58] 100.0% [68] 184(4.8%) 184(4.8%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 ----------------------------------------------------------------------------- ??? [58] 100.0% [69] 168(4.4%) 0(0.0%) ival-mult ...rbie/master/src/biginterval.rkt:129:0 bfmul [75] 100.0% ----------------------------------------------------------------------------- ??? [58] 33.3% map [10] 66.7% [70] 160(4.2%) 160(4.2%) f40 (unknown source) map [10] 66.7% ----------------------------------------------------------------------------- parse-loop368 [13] 50.0% ??? [58] 50.0% [71] 152(4.0%) 0(0.0%) simplify-node ...e/master/src/core/reduce.rkt:45:0 append-map [6] 50.0% constant? [76] 50.0% ----------------------------------------------------------------------------- temp85_0 [66] 100.0% [72] 630(16.4%) 0(0.0%) compile15 (unknown source) temp91_0 [77] 100.0% ----------------------------------------------------------------------------- hash-ref! [65] 100.0% [73] 472(12.3%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:44:15 hash-ref! [65] 100.0% ----------------------------------------------------------------------------- hash-ref! [65] 100.0% [74] 170(4.4%) 0(0.0%) ??? ...s/herbie/master/src/core/localize.rkt:16:13 loop [90] 100.0% ----------------------------------------------------------------------------- ival-mult [69] 100.0% [75] 168(4.4%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [78] 100.0% ----------------------------------------------------------------------------- simplify-node [71] 100.0% [76] 152(4.0%) 0(0.0%) constant? ...ie/master/src/syntax/syntax.rkt:726:0 value? [79] 100.0% ----------------------------------------------------------------------------- compile15 [72] 100.0% [77] 630(16.4%) 0(0.0%) temp91_0 (unknown source) temp118_0 [80] 74.9% compile-top9 [81] 25.1% ----------------------------------------------------------------------------- bfmul [75] 100.0% [78] 168(4.4%) 168(4.4%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ----------------------------------------------------------------------------- constant? [76] 100.0% [79] 152(4.0%) 152(4.0%) value? .../herbie/master/src/syntax/types.rkt:18:0 ----------------------------------------------------------------------------- temp91_0 [77] 100.0% [80] 472(12.3%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [82] 100.0% ----------------------------------------------------------------------------- temp91_0 [77] 100.0% [81] 158(4.1%) 0(0.0%) compile-top9 (unknown source) compile-forms33 [83] 100.0% ----------------------------------------------------------------------------- temp118_0 [80] 100.0% [82] 472(12.3%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [84] 100.0% ----------------------------------------------------------------------------- compile-top9 [81] 100.0% [83] 158(4.1%) 0(0.0%) compile-forms33 (unknown source) serialize-phase-to-link-module-uses [85]100.0% ----------------------------------------------------------------------------- expand-capturing-lifts [82] 100.0% [84] 472(12.3%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [86] 100.0% ----------------------------------------------------------------------------- compile-forms33 [83] 100.0% [85] 158(4.1%) 158(4.1%) serialize-phase-to-link-module-uses ...own source) ----------------------------------------------------------------------------- lambda-clause-expander [84] 10.2% for-loop [87] 89.8% [86] 472(12.3%) 0(0.0%) finish-bodys (unknown source) for-loop [87] 100.0% ----------------------------------------------------------------------------- fallback-loop [17] 2.7% for-loop [87] 13.5% finish-bodys [86] 83.8% [87] 472(12.3%) 318(8.3%) for-loop (unknown source) finish-bodys [86] 75.2% for-loop [87] 13.5% expand-implicit [7] 2.7% syntax-e [88] 2.3% ----------------------------------------------------------------------------- for-loop [87] 100.0% [88] 154(4.0%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [89] 100.0% ----------------------------------------------------------------------------- syntax-e [88] 100.0% [89] 154(4.0%) 0(0.0%) syntax-e/no-taint (unknown source) loop [90] 100.0% ----------------------------------------------------------------------------- loop [90] 26.2% ??? [74] 26.2% syntax-e/no-taint [89] 47.5% [90] 324(8.5%) 170(4.4%) loop (unknown source) gf [91] 47.5% loop [90] 26.2% ----------------------------------------------------------------------------- loop [90] 100.0% [91] 154(4.0%) 0(0.0%) gf (unknown source) propagation-merge [92] 100.0% ----------------------------------------------------------------------------- gf [91] 100.0% [92] 154(4.0%) 154(4.0%) propagation-merge (unknown source) -----------------------------------------------------------------------------