Profiling results ----------------- Total cpu time observed: 4674ms (out of 5448ms) Number of samples taken: 22 (once every 212ms) ======================================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================================= [1] 4674(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [11] 100.0% --------------------------------------------------------------------------------------- ??? [63] 100.0% [2] 656(14.0%) 0(0.0%) approximate9 ...ie/master/src/core/taylor.rkt:11:0 loop [12] 69.5% taylor [16] 30.5% --------------------------------------------------------------------------------------- hash-ref! [70] 100.0% [3] 456(9.8%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:67:15 ??? [63] 100.0% --------------------------------------------------------------------------------------- for-loop [93] 100.0% [4] 456(9.8%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [13] 100.0% --------------------------------------------------------------------------------------- hash-ref! [70] 100.0% [5] 456(9.8%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:290:26 for-loop [15] 100.0% --------------------------------------------------------------------------------------- hash-ref! [70] 100.0% [6] 256(5.5%) 0(0.0%) f61 (unknown source) eval-const-expr [14] 100.0% --------------------------------------------------------------------------------------- hash-ref! [70] 100.0% [7] 204(4.4%) 0(0.0%) parse-loop15 (unknown source) map [26] 100.0% --------------------------------------------------------------------------------------- map [26] 100.0% [8] 200(4.3%) 0(0.0%) simplify* ...erbie/master/src/core/reduce.rkt:28:0 hash-ref! [70] 100.0% --------------------------------------------------------------------------------------- hash-ref! [70] 100.0% [9] 200(4.3%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [14] 100.0% --------------------------------------------------------------------------------------- for-loop [93] 100.0% [10] 200(4.3%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [17] 100.0% --------------------------------------------------------------------------------------- ??? [1] 100.0% [11] 4674(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [18] 100.0% --------------------------------------------------------------------------------------- approximate9 [2] 100.0% [12] 456(9.8%) 0(0.0%) loop ...ies/herbie/master/src/core/taylor.rkt:86:4 hash-ref! [70] 100.0% --------------------------------------------------------------------------------------- dispatch-transformer41 [4] 100.0% [13] 456(9.8%) 0(0.0%) apply-transformer52 (unknown source) loop [87] 56.1% apply-transformer-in-context [21] 43.9% --------------------------------------------------------------------------------------- parse-loop74 [9] 43.9% f61 [6] 56.1% [14] 456(9.8%) 0(0.0%) eval-const-expr ...e/master/src/programs.rkt:144:0 temp85_0 [65] 100.0% --------------------------------------------------------------------------------------- ??? [5] 100.0% [15] 456(9.8%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:290:52 ??? [19] 100.0% --------------------------------------------------------------------------------------- taylor [16] 50.0% approximate9 [2] 50.0% [16] 200(4.3%) 0(0.0%) taylor .../herbie/master/src/core/taylor.rkt:169:0 taylor [16] 50.0% taylor-invert [20] 50.0% --------------------------------------------------------------------------------------- syntax-e [10] 100.0% [17] 200(4.3%) 0(0.0%) syntax-e/no-taint (unknown source) loop [87] 100.0% --------------------------------------------------------------------------------------- profile-thunk16 [11] 100.0% [18] 4674(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [22] 100.0% --------------------------------------------------------------------------------------- for-loop [15] 100.0% [19] 456(9.8%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:293:19 hash-ref! [70] 100.0% --------------------------------------------------------------------------------------- taylor [16] 100.0% [20] 200(4.3%) 0(0.0%) taylor-invert .../master/src/core/taylor.rkt:317:0 f40 [23] 100.0% --------------------------------------------------------------------------------------- apply-transformer52 [13] 100.0% [21] 200(4.3%) 0(0.0%) apply-transformer-in-context (unknown source) datum->syntax6 [24] 100.0% --------------------------------------------------------------------------------------- for-loop [67] 2.1% run [18] 97.9% [22] 4674(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [25] 52.8% prepare-points-intervals [31] 31.1% errors [58] 4.9% eval-errors [27] 4.7% get-final-combination [28] 4.3% *bit-width* [29] 2.1% --------------------------------------------------------------------------------------- map [26] 50.0% taylor-invert [20] 50.0% [23] 200(4.3%) 0(0.0%) f40 (unknown source) map [26] 100.0% --------------------------------------------------------------------------------------- apply-transformer-in-context [21] 100.0% [24] 200(4.3%) 0(0.0%) datum->syntax6 (unknown source) loop [87] 100.0% --------------------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [22] 100.0% [25] 2570(55.0%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:364:0 for-loop [30] 83.7% simplify! [37] 8.6% prepare-points-intervals [31] 7.8% --------------------------------------------------------------------------------------- f40 [23] 49.5% parse-loop15 [7] 50.5% [26] 404(8.6%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 hash-ref! [70] 50.5% f40 [23] 24.8% simplify* [8] 24.8% --------------------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [22] 100.0% [27] 220(4.7%) 0(0.0%) eval-errors .../herbie/master/src/points.rkt:170:0 for-loop [32] 100.0% --------------------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [22] 100.0% [28] 202(4.3%) 0(0.0%) get-final-combination ...er/src/mainloop.rkt:389:0 infer-splitpoints [33] 100.0% --------------------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [22] 100.0% [29] 200(4.3%) 200(4.3%) *bit-width* ...es/herbie/master/src/float.rkt:34:0 --------------------------------------------------------------------------------------- run-improve47 [25] 100.0% [30] 2150(46.0%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:383:4 run-iter! [34] 100.0% --------------------------------------------------------------------------------------- run-improve47 [25] 12.1% .../more-scheme.rkt:261:28 [22] 87.9% [31] 1654(35.4%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:122:0 loop [35] 87.9% loop [87] 12.1% --------------------------------------------------------------------------------------- eval-errors [27] 100.0% [32] 220(4.7%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:172:2 ??? [63] 100.0% --------------------------------------------------------------------------------------- get-final-combination [28] 100.0% [33] 202(4.3%) 0(0.0%) infer-splitpoints ...ter/src/core/regimes.rkt:33:0 for-loop [36] 100.0% --------------------------------------------------------------------------------------- for-loop [30] 100.0% [34] 2150(46.0%) 0(0.0%) run-iter! .../herbie/master/src/mainloop.rkt:345:0 simplify! [37] 31.8% gen-series! [39] 30.5% finalize-iter! [41] 28.2% localize! [42] 9.5% --------------------------------------------------------------------------------------- prepare-points-intervals [31] 100.0% [35] 1454(31.1%) 0(0.0%) loop ...ghtlies/herbie/master/src/points.rkt:134:4 loop [38] 57.6% ??? [40] 42.4% --------------------------------------------------------------------------------------- infer-splitpoints [33] 100.0% [36] 202(4.3%) 0(0.0%) for-loop ...erbie/master/src/core/regimes.rkt:45:6 option-on-expr [43] 100.0% --------------------------------------------------------------------------------------- run-improve47 [25] 24.3% run-iter! [34] 75.7% [37] 904(19.3%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:223:0 ??? [44] 100.0% --------------------------------------------------------------------------------------- loop [35] 100.0% [38] 838(17.9%) 206(4.4%) loop ...ightlies/herbie/master/src/points.rkt:79:2 ??? [47] 48.7% ??? [63] 26.7% --------------------------------------------------------------------------------------- run-iter! [34] 100.0% [39] 656(14.0%) 0(0.0%) gen-series! ...erbie/master/src/mainloop.rkt:159:0 for-loop [45] 100.0% --------------------------------------------------------------------------------------- loop [35] 100.0% [40] 616(13.2%) 0(0.0%) ??? ...ightlies/herbie/master/src/points.rkt:115:6 sample-multi-bounded [46] 100.0% --------------------------------------------------------------------------------------- run-iter! [34] 100.0% [41] 606(13.0%) 0(0.0%) finalize-iter! ...ie/master/src/mainloop.rkt:277:0 ??? [48] 100.0% --------------------------------------------------------------------------------------- run-iter! [34] 100.0% [42] 204(4.4%) 0(0.0%) localize! .../herbie/master/src/mainloop.rkt:126:0 localize-error [49] 100.0% --------------------------------------------------------------------------------------- for-loop [36] 100.0% [43] 202(4.3%) 0(0.0%) option-on-expr ...aster/src/core/regimes.rkt:124:0 ??? [47] 100.0% --------------------------------------------------------------------------------------- simplify! [37] 100.0% [44] 904(19.3%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:42:0 egraph-run [50] 100.0% --------------------------------------------------------------------------------------- gen-series! [39] 100.0% [45] 656(14.0%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:166:7 taylor-alt [51] 100.0% --------------------------------------------------------------------------------------- ??? [40] 100.0% [46] 616(13.2%) 0(0.0%) sample-multi-bounded ...master/src/points.rkt:14:0 random-ranges [52] 100.0% --------------------------------------------------------------------------------------- option-on-expr [43] 33.1% loop [38] 66.9% [47] 610(13.1%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sub [54] 66.9% ??? [55] 33.1% --------------------------------------------------------------------------------------- finalize-iter! [41] 100.0% [48] 606(13.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [53] 100.0% --------------------------------------------------------------------------------------- localize! [42] 100.0% [49] 204(4.4%) 0(0.0%) localize-error ...aster/src/core/localize.rkt:57:0 hash-ref! [70] 100.0% --------------------------------------------------------------------------------------- ??? [44] 100.0% [50] 904(19.3%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [56] 100.0% --------------------------------------------------------------------------------------- for-loop [45] 100.0% [51] 656(14.0%) 0(0.0%) taylor-alt ...herbie/master/src/mainloop.rkt:145:0 for-loop [57] 100.0% --------------------------------------------------------------------------------------- sample-multi-bounded [46] 100.0% [52] 616(13.2%) 0(0.0%) random-ranges ...erbie/master/src/common.rkt:164:0 cons/c [59] 67.5% build--> [62] 32.5% --------------------------------------------------------------------------------------- ??? [48] 100.0% [53] 606(13.0%) 0(0.0%) for-loop ...ie/master/src/core/alt-table.rkt:192:2 errors [58] 66.0% atab-add-altn [60] 34.0% --------------------------------------------------------------------------------------- ??? [47] 100.0% [54] 408(8.7%) 0(0.0%) ival-sub ...erbie/master/src/biginterval.rkt:117:0 bfmul [76] 100.0% --------------------------------------------------------------------------------------- for-loop [61] 50.0% ??? [47] 50.0% [55] 202(4.3%) 202(4.3%) ??? ...cts/racket/contract/private/list.rkt:209:10 for-loop [61] 50.0% --------------------------------------------------------------------------------------- egraph-run [50] 100.0% [56] 904(19.3%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [64] 100.0% --------------------------------------------------------------------------------------- taylor-alt [51] 100.0% [57] 656(14.0%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:151:6 ??? [63] 100.0% --------------------------------------------------------------------------------------- .../more-scheme.rkt:261:28 [22] 36.3% for-loop [53] 63.7% [58] 628(13.4%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:192:0 for-loop [67] 68.2% temp85_0 [65] 31.8% --------------------------------------------------------------------------------------- random-ranges [52] 100.0% [59] 416(8.9%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [66] 100.0% --------------------------------------------------------------------------------------- for-loop [53] 100.0% [60] 206(4.4%) 0(0.0%) atab-add-altn ...ster/src/core/alt-table.rkt:195:0 for-loop [68] 100.0% --------------------------------------------------------------------------------------- ??? [55] 100.0% [61] 202(4.3%) 0(0.0%) for-loop ...acket/contract/private/list.rkt:212:15 ??? [55] 100.0% --------------------------------------------------------------------------------------- random-ranges [52] 100.0% [62] 200(4.3%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [66] 100.0% --------------------------------------------------------------------------------------- ??? [3] 13.8% for-loop [32] 20.0% loop [38] 20.4% location-do [71] 22.9% for-loop [57] 22.9% [63] 1100(23.5%) 220(4.7%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [71] 22.9% approximate9 [2] 22.9% ival-mult [74] 20.4% hash-ref! [70] 13.8% --------------------------------------------------------------------------------------- egraph-add-exprs [56] 100.0% [64] 904(19.3%) 0(0.0%) ??? ...s/herbie/master/src/core/simplify.rkt:103:6 for-loop [69] 100.0% --------------------------------------------------------------------------------------- errors [58] 30.5% eval-const-expr [14] 69.5% [65] 656(14.0%) 0(0.0%) temp85_0 (unknown source) compile15 [72] 100.0% --------------------------------------------------------------------------------------- build--> [62] 32.5% cons/c [59] 67.5% [66] 616(13.2%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [73] 100.0% --------------------------------------------------------------------------------------- errors [58] 100.0% [67] 428(9.2%) 228(4.9%) for-loop ...ies/herbie/master/src/points.rkt:194:2 .../more-scheme.rkt:261:28 [22] 46.7% --------------------------------------------------------------------------------------- atab-add-altn [60] 100.0% [68] 206(4.4%) 206(4.4%) for-loop ...ie/master/src/core/alt-table.rkt:101:2 --------------------------------------------------------------------------------------- ??? [64] 100.0% [69] 904(19.3%) 904(19.3%) for-loop ...bie/master/src/core/simplify.rkt:121:2 --------------------------------------------------------------------------------------- ??? [80] 3.9% ??? [81] 3.9% localize-error [49] 4.7% ??? [19] 11.3% ??? [78] 11.3% ??? [63] 11.3% loop [12] 11.3% map [26] 19.0% simplify* [8] 23.3% [70] 860(18.4%) 200(4.3%) hash-ref! .../racket/private/more-scheme.rkt:376:2 parse-loop15 [7] 19.0% ??? [3] 11.3% ??? [78] 11.3% ??? [5] 11.3% f61 [6] 7.4% ??? [79] 4.7% ??? [81] 3.9% ??? [80] 3.9% parse-loop74 [9] 3.9% --------------------------------------------------------------------------------------- ??? [63] 43.5% location-do [71] 56.5% [71] 656(14.0%) 0(0.0%) location-do ...herbie/master/src/programs.rkt:87:0 location-do [71] 56.5% ??? [63] 43.5% --------------------------------------------------------------------------------------- temp85_0 [65] 100.0% [72] 656(14.0%) 0(0.0%) compile15 (unknown source) temp91_0 [75] 100.0% --------------------------------------------------------------------------------------- coerce-contract [66] 100.0% [73] 616(13.2%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [77] 100.0% --------------------------------------------------------------------------------------- ??? [63] 100.0% [74] 224(4.8%) 0(0.0%) ival-mult ...rbie/master/src/biginterval.rkt:129:0 bfmul [76] 100.0% --------------------------------------------------------------------------------------- compile15 [72] 100.0% [75] 656(14.0%) 0(0.0%) temp91_0 (unknown source) temp118_0 [82] 100.0% --------------------------------------------------------------------------------------- ival-mult [74] 35.4% ival-sub [54] 64.6% [76] 632(13.5%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [83] 100.0% --------------------------------------------------------------------------------------- coerce-contract/f [73] 100.0% [77] 616(13.2%) 616(13.2%) coerce-simple-value ...ract/private/guts.rkt:385:0 --------------------------------------------------------------------------------------- hash-ref! [70] 100.0% [78] 456(9.8%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:44:15 hash-ref! [70] 100.0% --------------------------------------------------------------------------------------- hash-ref! [70] 100.0% [79] 204(4.4%) 0(0.0%) ??? ...s/herbie/master/src/core/localize.rkt:16:13 repeat [84] 100.0% --------------------------------------------------------------------------------------- hash-ref! [70] 100.0% [80] 200(4.3%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:327:33 hash-ref! [70] 100.0% --------------------------------------------------------------------------------------- hash-ref! [70] 100.0% [81] 200(4.3%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:343:33 hash-ref! [70] 100.0% --------------------------------------------------------------------------------------- temp91_0 [75] 100.0% [82] 656(14.0%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [85] 100.0% --------------------------------------------------------------------------------------- bfmul [76] 100.0% [83] 632(13.5%) 632(13.5%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 --------------------------------------------------------------------------------------- ??? [79] 100.0% [84] 204(4.4%) 0(0.0%) repeat .../herbie/master/src/core/localize.rkt:7:0 for-loop [86] 100.0% --------------------------------------------------------------------------------------- loop [87] 23.4% temp118_0 [82] 76.6% [85] 856(18.3%) 0(0.0%) expand-capturing-lifts (unknown source) lambda-clause-expander [88] 76.6% loop [87] 23.4% --------------------------------------------------------------------------------------- repeat [84] 100.0% [86] 204(4.4%) 0(0.0%) for-loop ...erbie/master/src/core/localize.rkt:8:2 ??? [89] 100.0% --------------------------------------------------------------------------------------- datum->syntax6 [24] 1.1% expand-capturing-lifts [85] 7.8% prepare-points-intervals [31] 7.8% syntax-e/no-taint [17] 23.4% apply-transformer52 [13] 29.9% loop [87] 30.0% [87] 856(18.3%) 200(4.3%) loop (unknown source) loop [87] 30.0% core-form-sym [91] 29.9% gf [92] 23.4% expand-capturing-lifts [85] 7.8% for-loop [93] 7.8% --------------------------------------------------------------------------------------- expand-capturing-lifts [85] 100.0% [88] 656(14.0%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [90] 100.0% --------------------------------------------------------------------------------------- for-loop [86] 100.0% [89] 204(4.4%) 204(4.4%) ??? ...7.5/collects/racket/private/for.rkt:1236:14 --------------------------------------------------------------------------------------- lambda-clause-expander [88] 40.9% for-loop [93] 59.1% [90] 656(14.0%) 0(0.0%) finish-bodys (unknown source) for-loop [93] 100.0% --------------------------------------------------------------------------------------- loop [87] 100.0% [91] 256(5.5%) 0(0.0%) core-form-sym (unknown source) resolve+shift28 [94] 100.0% --------------------------------------------------------------------------------------- loop [87] 100.0% [92] 200(4.3%) 0(0.0%) gf (unknown source) propagation-apply [95] 100.0% --------------------------------------------------------------------------------------- run-module-instance!125 [97] 11.7% loop [87] 11.7% for-loop [93] 21.7% finish-bodys [90] 55.0% [93] 856(18.3%) 0(0.0%) for-loop (unknown source) finish-bodys [90] 33.3% for-loop [93] 21.7% dispatch-transformer41 [4] 17.8% run-module-instance!125 [97] 11.7% temp37_0 [96] 11.7% syntax-e [10] 3.9% --------------------------------------------------------------------------------------- core-form-sym [91] 100.0% [94] 256(5.5%) 256(5.5%) resolve+shift28 (unknown source) --------------------------------------------------------------------------------------- gf [92] 100.0% [95] 200(4.3%) 200(4.3%) propagation-apply (unknown source) --------------------------------------------------------------------------------------- for-loop [93] 100.0% [96] 200(4.3%) 0(0.0%) temp37_0 (unknown source) [running body] [98] 100.0% --------------------------------------------------------------------------------------- for-loop [93] 100.0% [97] 200(4.3%) 0(0.0%) run-module-instance!125 (unknown source) for-loop [93] 100.0% --------------------------------------------------------------------------------------- temp37_0 [96] 100.0% [98] 200(4.3%) 0(0.0%) [running body] .../collects/syntax/struct.rkt":##f do-partial-app [99] 100.0% --------------------------------------------------------------------------------------- [running body] [98] 100.0% [99] 200(4.3%) 0(0.0%) do-partial-app ...ntract/private/provide.rkt:493:0 successfully-got-the-right-kind-of-function [100]100.0% --------------------------------------------------------------------------------------- do-partial-app [99] 100.0% [100] 200(4.3%) 200(4.3%) successfully-got-the-right-kind-of-function ...5:4 ---------------------------------------------------------------------------------------