Profiling results ----------------- Total cpu time observed: 4298ms (out of 4448ms) Number of samples taken: 25 (once every 172ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== [1] 4298(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [7] 100.0% ---------------------------------------------------------------------- ??? [60] 100.0% [2] 560(13.0%) 0(0.0%) approximate9 ...ie/master/src/core/taylor.rkt:11:0 loop [8] 70.0% taylor-sqrt [12] 30.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [3] 392(9.1%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:67:15 ??? [60] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [4] 374(8.7%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:290:26 for-loop [9] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [5] 206(4.8%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:300:23 for-loop [10] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [6] 186(4.3%) 0(0.0%) f40 (unknown source) map [11] 100.0% ---------------------------------------------------------------------- ??? [1] 100.0% [7] 4298(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [13] 100.0% ---------------------------------------------------------------------- approximate9 [2] 100.0% [8] 392(9.1%) 0(0.0%) loop ...ies/herbie/master/src/core/taylor.rkt:86:4 hash-ref! [67] 100.0% ---------------------------------------------------------------------- ??? [4] 100.0% [9] 374(8.7%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:290:52 hash-ref! [67] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [10] 206(4.8%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:303:27 hash-ref! [67] 100.0% ---------------------------------------------------------------------- f40 [6] 100.0% [11] 186(4.3%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 parse-loop74 [14] 100.0% ---------------------------------------------------------------------- approximate9 [2] 100.0% [12] 168(3.9%) 0(0.0%) taylor-sqrt ...ie/master/src/core/taylor.rkt:351:0 hash-ref! [67] 100.0% ---------------------------------------------------------------------- profile-thunk16 [7] 100.0% [13] 4298(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [15] 100.0% ---------------------------------------------------------------------- map [11] 33.2% hash-ref! [67] 66.8% [14] 560(13.0%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [16] 100.0% ---------------------------------------------------------------------- for-loop [71] 9.5% run [13] 90.5% [15] 4298(100.0%) 474(11.0%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [18] 35.6% run-improve47 [17] 32.2% errors [64] 10.9% get-final-combination [19] 8.2% oracle-error [22] 3.6% ??? [20] 2.0% ??? [21] 2.0% ---------------------------------------------------------------------- parse-loop74 [14] 100.0% [16] 560(13.0%) 0(0.0%) eval-const-expr ...e/master/src/programs.rkt:144:0 temp85_0 [72] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [17] 1636(38.1%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:365:0 for-loop [23] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [18] 1530(35.6%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:122:0 loop [24] 100.0% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [19] 352(8.2%) 0(0.0%) get-final-combination ...er/src/mainloop.rkt:390:0 infer-splitpoints [25] 52.3% f33 [26] 47.7% ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [20] 176(4.1%) 176(4.1%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [21] 170(4.0%) 170(4.0%) ??? .../herbie/master/src/syntax/syntax.rkt:214:17 ---------------------------------------------------------------------- .../more-scheme.rkt:261:28 [15] 100.0% [22] 156(3.6%) 0(0.0%) oracle-error ...herbie/master/src/points.rkt:179:0 for-loop [27] 100.0% ---------------------------------------------------------------------- run-improve47 [17] 100.0% [23] 1636(38.1%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:384:4 run-iter! [28] 100.0% ---------------------------------------------------------------------- prepare-points-intervals [18] 100.0% [24] 1530(35.6%) 184(4.3%) loop ...ghtlies/herbie/master/src/points.rkt:134:4 loop [29] 66.1% ??? [30] 21.8% ---------------------------------------------------------------------- get-final-combination [19] 100.0% [25] 184(4.3%) 0(0.0%) infer-splitpoints ...ter/src/core/regimes.rkt:33:0 for-loop [31] 100.0% ---------------------------------------------------------------------- get-final-combination [19] 100.0% [26] 168(3.9%) 0(0.0%) f33 (unknown source) sindices->spoints [32] 100.0% ---------------------------------------------------------------------- oracle-error [22] 100.0% [27] 156(3.6%) 156(3.6%) for-loop ...ies/herbie/master/src/points.rkt:180:2 ---------------------------------------------------------------------- for-loop [23] 100.0% [28] 1636(38.1%) 0(0.0%) run-iter! .../herbie/master/src/mainloop.rkt:346:0 simplify! [33] 34.7% gen-series! [34] 34.2% choose-best-alt! [35] 20.3% finalize-iter! [38] 10.8% ---------------------------------------------------------------------- loop [24] 100.0% [29] 1012(23.5%) 176(4.1%) loop ...ightlies/herbie/master/src/points.rkt:79:2 ??? [60] 33.0% real->precision [36] 32.4% ??? [39] 17.2% ---------------------------------------------------------------------- loop [24] 100.0% [30] 334(7.8%) 168(3.9%) ??? ...ightlies/herbie/master/src/points.rkt:115:6 sample-multi-bounded [41] 49.7% ---------------------------------------------------------------------- infer-splitpoints [25] 100.0% [31] 184(4.3%) 0(0.0%) for-loop ...erbie/master/src/core/regimes.rkt:45:6 option-on-expr [37] 100.0% ---------------------------------------------------------------------- f33 [26] 100.0% [32] 168(3.9%) 0(0.0%) sindices->spoints ...er/src/core/regimes.rkt:194:0 for-loop [40] 100.0% ---------------------------------------------------------------------- run-iter! [28] 100.0% [33] 568(13.2%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:224:0 ??? [42] 100.0% ---------------------------------------------------------------------- run-iter! [28] 100.0% [34] 560(13.0%) 0(0.0%) gen-series! ...erbie/master/src/mainloop.rkt:160:0 for-loop [43] 100.0% ---------------------------------------------------------------------- run-iter! [28] 100.0% [35] 332(7.7%) 0(0.0%) choose-best-alt! .../master/src/mainloop.rkt:117:0 ...ow-val-first.rkt:486:18 [44] 100.0% ---------------------------------------------------------------------- loop [29] 100.0% [36] 328(7.6%) 0(0.0%) real->precision .../master/src/programs.rkt:118:11 ??? [69] 50.6% ??? [60] 49.4% ---------------------------------------------------------------------- for-loop [31] 100.0% [37] 184(4.3%) 0(0.0%) option-on-expr ...aster/src/core/regimes.rkt:124:0 sort-context-on-expr [45] 100.0% ---------------------------------------------------------------------- run-iter! [28] 100.0% [38] 176(4.1%) 0(0.0%) finalize-iter! ...ie/master/src/mainloop.rkt:278:0 ??? [46] 100.0% ---------------------------------------------------------------------- loop [29] 100.0% [39] 174(4.0%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sqrt [47] 100.0% ---------------------------------------------------------------------- sindices->spoints [32] 100.0% [40] 168(3.9%) 0(0.0%) for-loop ...rbie/master/src/core/regimes.rkt:234:9 binary-search-floats [48] 100.0% ---------------------------------------------------------------------- ??? [30] 100.0% [41] 166(3.9%) 166(3.9%) sample-multi-bounded ...master/src/points.rkt:14:0 ---------------------------------------------------------------------- simplify! [33] 100.0% [42] 568(13.2%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:42:0 egraph-run [49] 100.0% ---------------------------------------------------------------------- gen-series! [34] 100.0% [43] 560(13.0%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:167:7 taylor-alt [50] 100.0% ---------------------------------------------------------------------- choose-best-alt! [35] 100.0% [44] 332(7.7%) 0(0.0%) ...ow-val-first.rkt:486:18 (unknown source) ??? [51] 100.0% ---------------------------------------------------------------------- option-on-expr [37] 100.0% [45] 184(4.3%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:117:0 ??? [52] 100.0% ---------------------------------------------------------------------- finalize-iter! [38] 100.0% [46] 176(4.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [53] 100.0% ---------------------------------------------------------------------- ??? [39] 100.0% [47] 174(4.0%) 174(4.0%) ival-sqrt ...rbie/master/src/biginterval.rkt:205:0 ---------------------------------------------------------------------- for-loop [40] 100.0% [48] 168(3.9%) 0(0.0%) binary-search-floats ...src/core/regimes.rkt:176:0 pred [54] 100.0% ---------------------------------------------------------------------- ??? [42] 100.0% [49] 568(13.2%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [55] 100.0% ---------------------------------------------------------------------- for-loop [43] 100.0% [50] 560(13.0%) 0(0.0%) taylor-alt ...herbie/master/src/mainloop.rkt:146:0 for-loop [56] 100.0% ---------------------------------------------------------------------- ...ow-val-first.rkt:486:18 [44] 100.0% [51] 332(7.7%) 0(0.0%) ??? ...s/herbie/master/src/core/alt-table.rkt:41:0 argmin [57] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [45] 100.0% [52] 184(4.3%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [58] 100.0% ---------------------------------------------------------------------- ??? [46] 100.0% [53] 176(4.1%) 0(0.0%) for-loop ...ie/master/src/core/alt-table.rkt:201:2 atab-add-altn [59] 100.0% ---------------------------------------------------------------------- binary-search-floats [48] 100.0% [54] 168(3.9%) 0(0.0%) pred ...s/herbie/master/src/core/regimes.rkt:204:4 errors [64] 100.0% ---------------------------------------------------------------------- egraph-run [49] 100.0% [55] 568(13.2%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [61] 100.0% ---------------------------------------------------------------------- taylor-alt [50] 100.0% [56] 560(13.0%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:152:6 ??? [60] 100.0% ---------------------------------------------------------------------- ??? [51] 100.0% [57] 332(7.7%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [62] 100.0% ---------------------------------------------------------------------- ??? [52] 100.0% [58] 184(4.3%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [63] 100.0% ---------------------------------------------------------------------- for-loop [53] 100.0% [59] 176(4.1%) 0(0.0%) atab-add-altn ...ster/src/core/alt-table.rkt:204:0 errors [64] 100.0% ---------------------------------------------------------------------- ??? [3] 12.4% real->precision [36] 15.3% location-do [66] 20.3% for-loop [56] 20.3% loop [29] 31.6% [60] 1056(24.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [68] 31.6% location-do [66] 20.3% approximate9 [2] 20.3% ??? [69] 15.3% hash-ref! [67] 12.4% ---------------------------------------------------------------------- egraph-add-exprs [55] 100.0% [61] 568(13.2%) 0(0.0%) ??? ...s/herbie/master/src/core/simplify.rkt:103:6 for-loop [65] 100.0% ---------------------------------------------------------------------- argmin [57] 100.0% [62] 332(7.7%) 0(0.0%) ??? ...tlies/herbie/master/src/mainloop.rkt:114:10 errors [64] 100.0% ---------------------------------------------------------------------- generic-sort/key [58] 25.0% copying-mergesort [63] 75.0% [63] 184(4.3%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [63] 75.0% jloop [70] 25.0% ---------------------------------------------------------------------- pred [54] 12.9% atab-add-altn [59] 13.5% ??? [62] 25.5% .../more-scheme.rkt:261:28 [15] 48.0% [64] 1300(30.2%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:192:0 for-loop [71] 87.1% temp85_0 [72] 12.9% ---------------------------------------------------------------------- ??? [61] 100.0% [65] 568(13.2%) 568(13.2%) for-loop ...bie/master/src/core/simplify.rkt:121:2 ---------------------------------------------------------------------- location-do [66] 22.1% ??? [60] 77.9% [66] 560(13.0%) 0(0.0%) location-do ...herbie/master/src/programs.rkt:87:0 ??? [60] 77.9% location-do [66] 22.1% ---------------------------------------------------------------------- for-loop [10] 6.1% ??? [75] 6.1% ??? [76] 10.0% taylor-sqrt [12] 10.0% for-loop [9] 16.1% ??? [73] 17.2% ??? [60] 17.2% loop [8] 17.2% [67] 560(13.0%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [3] 17.2% ??? [73] 17.2% ??? [4] 16.1% parse-loop74 [14] 16.1% f40 [6] 11.1% ??? [76] 10.0% ??? [75] 6.1% ??? [5] 6.1% ---------------------------------------------------------------------- ??? [60] 100.0% [68] 334(7.8%) 0(0.0%) ival-mult ...rbie/master/src/biginterval.rkt:129:0 bfmul [74] 100.0% ---------------------------------------------------------------------- ??? [60] 49.4% real->precision [36] 50.6% [69] 328(7.6%) 162(3.8%) ??? ...ects/racket/contract/private/guts.rkt:770:8 bigvalue? [77] 50.6% ---------------------------------------------------------------------- copying-mergesort [63] 100.0% [70] 184(4.3%) 184(4.3%) jloop ...5/collects/racket/private/sort.rkt:120:23 ---------------------------------------------------------------------- errors [64] 100.0% [71] 1132(26.3%) 312(7.3%) for-loop ...ies/herbie/master/src/points.rkt:194:2 .../more-scheme.rkt:261:28 [15] 72.4% ---------------------------------------------------------------------- errors [64] 23.1% eval-const-expr [16] 76.9% [72] 728(16.9%) 0(0.0%) temp85_0 (unknown source) compile15 [78] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [73] 392(9.1%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:44:15 hash-ref! [67] 100.0% ---------------------------------------------------------------------- ival-mult [68] 100.0% [74] 334(7.8%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [79] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [75] 206(4.8%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:362:30 hash-ref! [67] 100.0% ---------------------------------------------------------------------- hash-ref! [67] 100.0% [76] 168(3.9%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:327:33 hash-ref! [67] 100.0% ---------------------------------------------------------------------- ??? [69] 100.0% [77] 166(3.9%) 166(3.9%) bigvalue? ...rbie/master/src/syntax/types.rkt:19:0 ---------------------------------------------------------------------- temp85_0 [72] 100.0% [78] 728(16.9%) 0(0.0%) compile15 (unknown source) temp91_0 [80] 100.0% ---------------------------------------------------------------------- bfmul [74] 100.0% [79] 334(7.8%) 334(7.8%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ---------------------------------------------------------------------- compile15 [78] 100.0% [80] 728(16.9%) 0(0.0%) temp91_0 (unknown source) temp118_0 [81] 100.0% ---------------------------------------------------------------------- temp91_0 [80] 100.0% [81] 728(16.9%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [82] 100.0% ---------------------------------------------------------------------- temp118_0 [81] 100.0% [82] 728(16.9%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [83] 76.9% dispatch-transformer41 [84] 23.1% ---------------------------------------------------------------------- expand-capturing-lifts [82] 100.0% [83] 560(13.0%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [85] 100.0% ---------------------------------------------------------------------- expand-capturing-lifts [82] 100.0% [84] 168(3.9%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [86] 100.0% ---------------------------------------------------------------------- lambda-clause-expander [83] 29.0% for-loop [87] 71.0% [85] 560(13.0%) 0(0.0%) finish-bodys (unknown source) for-loop [87] 100.0% ---------------------------------------------------------------------- dispatch-transformer41 [84] 100.0% [86] 168(3.9%) 0(0.0%) apply-transformer52 (unknown source) apply-transformer-in-context [88]100.0% ---------------------------------------------------------------------- for-loop [87] 13.6% finish-bodys [85] 86.4% [87] 560(13.0%) 0(0.0%) for-loop (unknown source) finish-bodys [85] 59.9% expand-implicit [89] 20.4% for-loop [87] 13.6% loop [90] 6.1% ---------------------------------------------------------------------- apply-transformer52 [86] 100.0% [88] 168(3.9%) 168(3.9%) apply-transformer-in-context (unknown source) ---------------------------------------------------------------------- for-loop [87] 100.0% [89] 354(8.2%) 0(0.0%) expand-implicit (unknown source) resolve+shift28 [91] 52.5% datum->syntax6 [92] 47.5% ---------------------------------------------------------------------- for-loop [87] 100.0% [90] 206(4.8%) 206(4.8%) loop (unknown source) ---------------------------------------------------------------------- expand-implicit [89] 100.0% [91] 186(4.3%) 0(0.0%) resolve+shift28 (unknown source) fallback-loop [93] 100.0% ---------------------------------------------------------------------- expand-implicit [89] 100.0% [92] 168(3.9%) 168(3.9%) datum->syntax6 (unknown source) ---------------------------------------------------------------------- resolve+shift28 [91] 100.0% [93] 186(4.3%) 186(4.3%) fallback-loop (unknown source) ----------------------------------------------------------------------