Profiling results ----------------- Total cpu time observed: 6548ms (out of 6560ms) Number of samples taken: 24 (once every 273ms) (Hiding functions with self<1.0% and local<2.0%: 2 of 105 hidden) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== [1] 6548(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [13] 100.0% ------------------------------------------------------------------------ ??? [92] 100.0% [2] 2338(35.7%) 0(0.0%) approximate9 ...better-rr/src/core/taylor.rkt:11:0 loop [15] 74.4% taylor-quotient [25] 8.6% taylor [88] 8.6% for-loop [21] 8.5% ------------------------------------------------------------------------ hash-ref! [80] 100.0% [3] 1556(23.8%) 0(0.0%) ??? .../herbie/better-rr/src/core/taylor.rkt:44:15 hash-ref! [80] 87.1% ??? [20] 12.9% ------------------------------------------------------------------------ taylor-invert [95] 16.9% map [94] 34.0% hash-ref! [80] 49.1% [4] 1182(18.1%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [14] 100.0% ------------------------------------------------------------------------ map [94] 19.3% hash-ref! [80] 80.7% [5] 972(14.8%) 0(0.0%) f61 (unknown source) eval-const-expr [14] 100.0% ------------------------------------------------------------------------ hash-ref! [80] 100.0% [6] 772(11.8%) 0(0.0%) ??? ...herbie/better-rr/src/core/taylor.rkt:290:26 for-loop [17] 100.0% ------------------------------------------------------------------------ for-loop [103] 31.6% loop [78] 68.4% [7] 582(8.9%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [16] 100.0% ------------------------------------------------------------------------ hash-ref! [80] 100.0% [8] 402(6.1%) 0(0.0%) ??? ...herbie/better-rr/src/core/taylor.rkt:300:23 for-loop [18] 100.0% ------------------------------------------------------------------------ for-loop [103] 100.0% [9] 398(6.1%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [19] 100.0% ------------------------------------------------------------------------ hash-ref! [80] 100.0% [10] 208(3.2%) 0(0.0%) ??? ...ies/herbie/better-rr/src/programs.rkt:202:5 loop [78] 100.0% ------------------------------------------------------------------------ hash-ref! [80] 100.0% [11] 198(3.0%) 0(0.0%) ??? ...herbie/better-rr/src/core/taylor.rkt:509:23 for-loop [22] 100.0% ------------------------------------------------------------------------ for-loop [103] 100.0% [12] 188(2.9%) 0(0.0%) expand-implicit (unknown source) resolve+shift28 [43] 100.0% ------------------------------------------------------------------------ ??? [1] 100.0% [13] 6548(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [23] 100.0% ------------------------------------------------------------------------ f61 [5] 45.1% parse-loop74 [4] 54.9% [14] 2154(32.9%) 0(0.0%) eval-const-expr ...etter-rr/src/programs.rkt:144:0 temp85_0 [76] 72.2% eval [26] 18.1% eval-prog [27] 9.7% ------------------------------------------------------------------------ approximate9 [2] 100.0% [15] 1740(26.6%) 0(0.0%) loop .../herbie/better-rr/src/core/taylor.rkt:86:4 hash-ref! [80] 54.4% ??? [92] 45.6% ------------------------------------------------------------------------ expand-id-application-form17 [83] 25.6% syntax-e [7] 74.4% [16] 782(11.9%) 0(0.0%) syntax-e/no-taint (unknown source) loop [78] 100.0% ------------------------------------------------------------------------ ??? [6] 100.0% [17] 772(11.8%) 0(0.0%) for-loop ...e/better-rr/src/core/taylor.rkt:290:52 hash-ref! [80] 100.0% ------------------------------------------------------------------------ ??? [8] 100.0% [18] 402(6.1%) 0(0.0%) for-loop ...e/better-rr/src/core/taylor.rkt:303:27 hash-ref! [80] 100.0% ------------------------------------------------------------------------ dispatch-transformer41 [9] 100.0% [19] 398(6.1%) 0(0.0%) apply-transformer52 (unknown source) apply-transformer-in-context [24]100.0% ------------------------------------------------------------------------ ??? [3] 100.0% [20] 200(3.1%) 0(0.0%) ??? ...herbie/better-rr/src/core/taylor.rkt:293:19 hash-ref! [80] 100.0% ------------------------------------------------------------------------ approximate9 [2] 100.0% [21] 198(3.0%) 0(0.0%) for-loop ...ie/better-rr/src/core/taylor.rkt:29:18 taylor-quotient [25] 100.0% ------------------------------------------------------------------------ ??? [11] 100.0% [22] 198(3.0%) 0(0.0%) for-loop ...e/better-rr/src/core/taylor.rkt:513:35 parse-loop402 [28] 100.0% ------------------------------------------------------------------------ profile-thunk16 [13] 100.0% [23] 6548(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [29] 100.0% ------------------------------------------------------------------------ apply-transformer52 [19] 100.0% [24] 398(6.1%) 0(0.0%) apply-transformer-in-context (unknown source) parse-app [32] 50.3% ??? [33] 49.7% ------------------------------------------------------------------------ for-loop [21] 49.7% approximate9 [2] 50.3% [25] 398(6.1%) 0(0.0%) taylor-quotient ...er-rr/src/core/taylor.rkt:333:0 first-nonzero-exp [30] 100.0% ------------------------------------------------------------------------ eval-const-expr [14] 100.0% [26] 390(6.0%) 0(0.0%) eval (unknown source) add-ns-scopes [31] 51.8% namespace-syntax-introduce3 [35] 48.2% ------------------------------------------------------------------------ eval-const-expr [14] 100.0% [27] 208(3.2%) 0(0.0%) eval-prog ...rbie/better-rr/src/programs.rkt:106:0 hash-ref! [80] 100.0% ------------------------------------------------------------------------ for-loop [22] 100.0% [28] 198(3.0%) 0(0.0%) parse-loop402 (unknown source) for-loop [34] 100.0% ------------------------------------------------------------------------ for-loop [77] 2.9% run [23] 97.1% [29] 6548(100.0%) 198(3.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [36] 90.5% get-final-combination [37] 6.5% ??? [40] 1.4% ------------------------------------------------------------------------ taylor-quotient [25] 100.0% [30] 398(6.1%) 0(0.0%) first-nonzero-exp ...-rr/src/core/taylor.rkt:265:0 hash-ref! [80] 100.0% ------------------------------------------------------------------------ eval [26] 100.0% [31] 202(3.1%) 0(0.0%) add-ns-scopes (unknown source) gf [82] 100.0% ------------------------------------------------------------------------ apply-transformer-in-context [24]100.0% [32] 200(3.1%) 0(0.0%) parse-app ...collects/racket/private/kw.rkt:1142:2 syntax->list [42] 100.0% ------------------------------------------------------------------------ apply-transformer-in-context [24]100.0% [33] 198(3.0%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [38] 100.0% ------------------------------------------------------------------------ parse-loop402 [28] 100.0% [34] 198(3.0%) 0(0.0%) for-loop ...e/better-rr/src/core/taylor.rkt:516:59 hash-ref! [80] 100.0% ------------------------------------------------------------------------ eval [26] 100.0% [35] 188(2.9%) 0(0.0%) namespace-syntax-introduce3 (unknown source) free-identifier=? [39] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [29] 100.0% [36] 6120(93.5%) 0(0.0%) run-improve47 .../better-rr/src/mainloop.rkt:364:0 for-loop [41] 87.7% simplify! [50] 12.3% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [29] 100.0% [37] 428(6.5%) 0(0.0%) get-final-combination ...rr/src/mainloop.rkt:389:0 f33 [44] 52.3% infer-splitpoints [45] 47.7% ------------------------------------------------------------------------ ??? [33] 100.0% [38] 198(3.0%) 0(0.0%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 syntax->list [42] 100.0% ------------------------------------------------------------------------ namespace-syntax-introduce3 [35] 100.0% [39] 188(2.9%) 0(0.0%) free-identifier=? (unknown source) resolve+shift28 [43] 100.0% ------------------------------------------------------------------------ .../more-scheme.rkt:261:28 [29] 100.0% [40] 184(2.8%) 184(2.8%) ??? ...rbie/better-rr/src/syntax/syntax.rkt:214:17 ------------------------------------------------------------------------ run-improve47 [36] 100.0% [41] 5370(82.0%) 0(0.0%) for-loop ...erbie/better-rr/src/mainloop.rkt:383:4 run-iter! [46] 100.0% ------------------------------------------------------------------------ ??? [38] 49.7% parse-app [32] 50.3% [42] 398(6.1%) 0(0.0%) syntax->list (unknown source) loop [78] 100.0% ------------------------------------------------------------------------ expand-implicit [12] 50.0% free-identifier=? [39] 50.0% [43] 376(5.7%) 188(2.9%) resolve+shift28 (unknown source) fallback-loop [49] 50.0% ------------------------------------------------------------------------ get-final-combination [37] 100.0% [44] 224(3.4%) 0(0.0%) f33 (unknown source) sindices->spoints [47] 100.0% ------------------------------------------------------------------------ get-final-combination [37] 100.0% [45] 204(3.1%) 0(0.0%) infer-splitpoints ...-rr/src/core/regimes.rkt:33:0 for-loop [48] 100.0% ------------------------------------------------------------------------ for-loop [41] 100.0% [46] 5370(82.0%) 0(0.0%) run-iter! ...rbie/better-rr/src/mainloop.rkt:345:0 gen-series! [51] 43.5% simplify! [50] 42.5% finalize-iter! [52] 10.5% localize! [55] 3.5% ------------------------------------------------------------------------ f33 [44] 100.0% [47] 224(3.4%) 0(0.0%) sindices->spoints ...rr/src/core/regimes.rkt:194:0 for-loop [53] 100.0% ------------------------------------------------------------------------ infer-splitpoints [45] 100.0% [48] 204(3.1%) 0(0.0%) for-loop ...ie/better-rr/src/core/regimes.rkt:45:6 option-on-expr [54] 100.0% ------------------------------------------------------------------------ resolve+shift28 [43] 100.0% [49] 188(2.9%) 0(0.0%) fallback-loop (unknown source) for-loop [103] 100.0% ------------------------------------------------------------------------ run-improve47 [36] 24.8% run-iter! [46] 75.2% [50] 3030(46.3%) 0(0.0%) simplify! ...rbie/better-rr/src/mainloop.rkt:223:0 ??? [56] 100.0% ------------------------------------------------------------------------ run-iter! [46] 100.0% [51] 2338(35.7%) 0(0.0%) gen-series! ...ie/better-rr/src/mainloop.rkt:159:0 for-loop [57] 100.0% ------------------------------------------------------------------------ run-iter! [46] 100.0% [52] 566(8.6%) 0(0.0%) finalize-iter! ...better-rr/src/mainloop.rkt:277:0 ??? [58] 100.0% ------------------------------------------------------------------------ sindices->spoints [47] 100.0% [53] 224(3.4%) 0(0.0%) for-loop ...e/better-rr/src/core/regimes.rkt:234:9 pred [59] 100.0% ------------------------------------------------------------------------ for-loop [48] 100.0% [54] 204(3.1%) 0(0.0%) option-on-expr ...er-rr/src/core/regimes.rkt:124:0 err-lsts->split-indices [60] 100.0% ------------------------------------------------------------------------ run-iter! [46] 100.0% [55] 186(2.8%) 0(0.0%) localize! ...rbie/better-rr/src/mainloop.rkt:126:0 localize-error [61] 100.0% ------------------------------------------------------------------------ simplify! [50] 100.0% [56] 3030(46.3%) 0(0.0%) ??? ...herbie/better-rr/src/core/simplify.rkt:42:0 egraph-run [62] 100.0% ------------------------------------------------------------------------ gen-series! [51] 100.0% [57] 2338(35.7%) 0(0.0%) for-loop ...erbie/better-rr/src/mainloop.rkt:166:7 taylor-alt [63] 100.0% ------------------------------------------------------------------------ finalize-iter! [52] 100.0% [58] 566(8.6%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [64] 100.0% ------------------------------------------------------------------------ for-loop [53] 100.0% [59] 224(3.4%) 0(0.0%) pred ...erbie/better-rr/src/core/regimes.rkt:204:4 errors [72] 100.0% ------------------------------------------------------------------------ option-on-expr [54] 100.0% [60] 204(3.1%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:263:0 loop [65] 100.0% ------------------------------------------------------------------------ localize! [55] 100.0% [61] 186(2.8%) 0(0.0%) localize-error ...er-rr/src/core/localize.rkt:57:0 hash-ref! [80] 100.0% ------------------------------------------------------------------------ ??? [56] 100.0% [62] 3030(46.3%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [66] 100.0% ------------------------------------------------------------------------ for-loop [57] 100.0% [63] 2338(35.7%) 0(0.0%) taylor-alt ...bie/better-rr/src/mainloop.rkt:145:0 for-loop [67] 100.0% ------------------------------------------------------------------------ ??? [58] 100.0% [64] 566(8.6%) 0(0.0%) for-loop ...better-rr/src/core/alt-table.rkt:192:2 atab-add-altn [68] 67.5% loop [70] 32.5% ------------------------------------------------------------------------ err-lsts->split-indices [60] 100.0% [65] 204(3.1%) 0(0.0%) loop ...erbie/better-rr/src/core/regimes.rkt:314:4 for-loop [69] 100.0% ------------------------------------------------------------------------ egraph-run [62] 100.0% [66] 3030(46.3%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [71] 100.0% ------------------------------------------------------------------------ taylor-alt [63] 100.0% [67] 2338(35.7%) 0(0.0%) for-loop ...erbie/better-rr/src/mainloop.rkt:151:6 ??? [92] 100.0% ------------------------------------------------------------------------ for-loop [64] 100.0% [68] 382(5.8%) 0(0.0%) atab-add-altn ...r-rr/src/core/alt-table.rkt:195:0 errors [72] 100.0% ------------------------------------------------------------------------ loop [65] 100.0% [69] 204(3.1%) 0(0.0%) for-loop ...e/better-rr/src/core/regimes.rkt:279:4 for-loop [73] 100.0% ------------------------------------------------------------------------ for-loop [64] 100.0% [70] 184(2.8%) 0(0.0%) loop ...bie/better-rr/src/core/alt-table.rkt:159:2 loop [74] 100.0% ------------------------------------------------------------------------ egraph-add-exprs [66] 100.0% [71] 3030(46.3%) 0(0.0%) ??? ...erbie/better-rr/src/core/simplify.rkt:103:6 for-loop [75] 100.0% ------------------------------------------------------------------------ pred [59] 37.0% atab-add-altn [68] 63.0% [72] 606(9.3%) 0(0.0%) errors ...es/herbie/better-rr/src/points.rkt:192:0 for-loop [77] 63.0% temp85_0 [76] 37.0% ------------------------------------------------------------------------ for-loop [69] 100.0% [73] 204(3.1%) 204(3.1%) for-loop ...e/better-rr/src/core/regimes.rkt:283:8 ------------------------------------------------------------------------ loop [70] 6.2% loop [74] 93.8% [74] 184(2.8%) 184(2.8%) loop ...racket-7.5/collects/racket/list.rkt:434:28 loop [74] 93.8% ------------------------------------------------------------------------ ??? [71] 100.0% [75] 3030(46.3%) 2350(35.9%) for-loop .../better-rr/src/core/simplify.rkt:121:2 loop [78] 22.4% ------------------------------------------------------------------------ errors [72] 12.6% eval-const-expr [14] 87.4% [76] 1780(27.2%) 0(0.0%) temp85_0 (unknown source) compile15 [79] 100.0% ------------------------------------------------------------------------ errors [72] 100.0% [77] 382(5.8%) 0(0.0%) for-loop .../herbie/better-rr/src/points.rkt:194:2 .../more-scheme.rkt:261:28 [29] 100.0% ------------------------------------------------------------------------ for-loop [75] 5.0% syntax->list [42] 8.8% gf [82] 8.9% ??? [10] 9.2% syntax-e/no-taint [16] 21.4% for-loop [103] 21.5% loop [78] 25.1% [78] 2258(34.5%) 882(13.5%) loop (unknown source) loop [78] 25.1% expand-id-application-form17 [83] 21.5% gf [82] 21.4% hash-ref! [80] 9.2% syntax-e [7] 8.8% ------------------------------------------------------------------------ temp85_0 [76] 100.0% [79] 1780(27.2%) 0(0.0%) compile15 (unknown source) temp91_0 [81] 100.0% ------------------------------------------------------------------------ localize-error [61] 1.1% for-loop [34] 1.7% eval-prog [27] 1.8% ??? [20] 2.9% loop [78] 3.6% for-loop [18] 4.3% map [94] 6.9% for-loop [17] 8.9% first-nonzero-exp [30] 10.3% loop [15] 12.1% ??? [3] 18.2% ??? [92] 25.1% [80] 2324(35.5%) 208(3.2%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [3] 21.1% f61 [5] 12.9% f40 [86] 12.8% ??? [85] 12.1% ??? [6] 8.9% parse-loop15 [91] 8.0% parse-loop74 [4] 5.8% ??? [8] 4.3% taylor [88] 4.0% ??? [10] 3.6% ??? [11] 1.7% ------------------------------------------------------------------------ compile15 [79] 100.0% [81] 1780(27.2%) 0(0.0%) temp91_0 (unknown source) temp118_0 [84] 88.8% compile-top9 [89] 11.2% ------------------------------------------------------------------------ add-ns-scopes [31] 20.5% loop [78] 79.5% [82] 984(15.0%) 200(3.1%) gf (unknown source) propagation-merge [87] 39.0% loop [78] 20.5% propagation-apply [90] 20.1% ------------------------------------------------------------------------ loop [78] 100.0% [83] 586(8.9%) 386(5.9%) expand-id-application-form17 (unknown source) syntax-e/no-taint [16] 34.1% ------------------------------------------------------------------------ temp91_0 [81] 100.0% [84] 1580(24.1%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [93] 100.0% ------------------------------------------------------------------------ hash-ref! [80] 100.0% [85] 946(14.4%) 0(0.0%) ??? .../herbie/better-rr/src/core/taylor.rkt:67:15 ??? [92] 100.0% ------------------------------------------------------------------------ hash-ref! [80] 25.0% map [94] 75.0% [86] 590(9.0%) 0(0.0%) f40 (unknown source) map [94] 100.0% ------------------------------------------------------------------------ gf [82] 100.0% [87] 384(5.9%) 384(5.9%) propagation-merge (unknown source) ------------------------------------------------------------------------ taylor [88] 24.0% hash-ref! [80] 24.0% approximate9 [2] 52.1% [88] 384(5.9%) 0(0.0%) taylor ...rbie/better-rr/src/core/taylor.rkt:169:0 taylor-invert [95] 76.0% taylor [88] 24.0% ------------------------------------------------------------------------ temp91_0 [81] 100.0% [89] 200(3.1%) 0(0.0%) compile-top9 (unknown source) compile-forms33 [96] 100.0% ------------------------------------------------------------------------ gf [82] 100.0% [90] 198(3.0%) 198(3.0%) propagation-apply (unknown source) ------------------------------------------------------------------------ hash-ref! [80] 100.0% [91] 186(2.8%) 0(0.0%) parse-loop15 (unknown source) map [94] 100.0% ------------------------------------------------------------------------ loop [15] 11.3% ??? [85] 13.5% location-do [97] 37.6% for-loop [67] 37.6% [92] 2338(35.7%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [97] 37.6% approximate9 [2] 37.6% hash-ref! [80] 24.8% ------------------------------------------------------------------------ temp118_0 [84] 100.0% [93] 1580(24.1%) 224(3.4%) expand-capturing-lifts (unknown source) lambda-clause-expander [98] 85.8% ------------------------------------------------------------------------ parse-loop15 [91] 24.0% f40 [86] 76.0% [94] 776(11.9%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 f40 [86] 57.0% hash-ref! [80] 20.5% parse-loop74 [4] 13.0% f61 [5] 6.1% loop [99] 3.4% ------------------------------------------------------------------------ taylor [88] 100.0% [95] 384(5.9%) 0(0.0%) taylor-invert ...tter-rr/src/core/taylor.rkt:317:0 parse-loop74 [4] 52.1% simplify* [100] 47.9% ------------------------------------------------------------------------ compile-top9 [89] 100.0% [96] 200(3.1%) 0(0.0%) compile-forms33 (unknown source) for-loop [103] 100.0% ------------------------------------------------------------------------ ??? [92] 27.9% location-do [97] 72.1% [97] 2338(35.7%) 0(0.0%) location-do ...bie/better-rr/src/programs.rkt:87:0 location-do [97] 72.1% ??? [92] 27.9% ------------------------------------------------------------------------ expand-capturing-lifts [93] 100.0% [98] 1356(20.7%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [101] 100.0% ------------------------------------------------------------------------ map [94] 25.0% loop [99] 75.0% [99] 186(2.8%) 0(0.0%) loop ...-7.5/collects/racket/private/map.rkt:54:19 loop [99] 75.0% ??? [102] 25.0% ------------------------------------------------------------------------ taylor-invert [95] 100.0% [100] 184(2.8%) 184(2.8%) simplify* ...ie/better-rr/src/core/reduce.rkt:28:0 ------------------------------------------------------------------------ lambda-clause-expander [98] 29.0% for-loop [103] 71.0% [101] 1356(20.7%) 0(0.0%) finish-bodys (unknown source) for-loop [103] 100.0% ------------------------------------------------------------------------ loop [99] 100.0% [102] 186(2.8%) 186(2.8%) ??? ...erbie/better-rr/src/core/localize.rkt:49:36 ------------------------------------------------------------------------ fallback-loop [49] 0.9% compile-forms33 [96] 12.9% for-loop [103] 16.6% finish-bodys [101] 69.7% [103] 1556(23.8%) 388(5.9%) for-loop (unknown source) finish-bodys [101] 49.3% for-loop [103] 16.6% dispatch-transformer41 [9] 10.7% loop [78] 7.8% syntax-e [7] 1.0% expand-implicit [12] 0.9% ------------------------------------------------------------------------