Profiling results ----------------- Total cpu time observed: 19002ms (out of 19616ms) Number of samples taken: 77 (once every 247ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [28] 100.0% [1] 19002(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [28] 100.0% [2] 2456(12.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [9] 63.7% for-loop [10] 18.5% loop [8] 17.8% ---------------------------------------------------------------------- copying-mergesort [39] 100.0% [3] 662(3.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [50] 100.0% ---------------------------------------------------------------------- location-do [43] 100.0% [4] 214(1.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [12] 100.0% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [5] 214(1.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [11] 100.0% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [6] 210(1.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [29] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [7] 19002(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [28] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 2.6% ??? [28] 97.4% [8] 16984(89.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [13] 49.7% make-exacts* [17] 38.4% loop [18] 10.6% for-loop [16] 1.4% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1564(8.2%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [14] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 454(2.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [15] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [11] 214(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [58] 100.0% ---------------------------------------------------------------------- approximate9 [4] 100.0% [12] 214(1.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [58] 100.0% ---------------------------------------------------------------------- loop [8] 100.0% [13] 8436(44.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [18] 50.1% make-exacts* [17] 47.4% eval-prog [55] 2.5% ---------------------------------------------------------------------- get-final-combination [9] 100.0% [14] 1564(8.2%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [19] 100.0% ---------------------------------------------------------------------- for-loop [10] 100.0% [15] 454(2.4%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 52.9% gen-series! [22] 47.1% ---------------------------------------------------------------------- loop [8] 100.0% [16] 234(1.2%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [21] 100.0% ---------------------------------------------------------------------- loop [13] 38.0% loop [8] 62.0% [17] 10514(55.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [23] 52.9% loop [29] 47.1% ---------------------------------------------------------------------- loop [8] 29.8% loop [13] 70.2% [18] 6026(31.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [23] 100.0% ---------------------------------------------------------------------- split-table [14] 100.0% [19] 1564(8.2%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [24] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [20] 240(1.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [25] 100.0% ---------------------------------------------------------------------- for-loop [16] 100.0% [21] 234(1.2%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-default [26] 100.0% ---------------------------------------------------------------------- run-iter! [15] 100.0% [22] 214(1.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [27] 100.0% ---------------------------------------------------------------------- make-exacts* [17] 48.0% loop [18] 52.0% [23] 11584(61.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [29] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [19] 100.0% [24] 1564(8.2%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [30] 100.0% ---------------------------------------------------------------------- simplify! [20] 100.0% [25] 240(1.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [28] 100.0% ---------------------------------------------------------------------- for-loop [21] 100.0% [26] 234(1.2%) 0(0.0%) sample-default ...rc/syntax/distributions.rkt:11:0 ??? [40] 100.0% ---------------------------------------------------------------------- gen-series! [22] 100.0% [27] 214(1.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [31] 100.0% ---------------------------------------------------------------------- for-loop [25] 0.4% run [7] 49.8% [28] 19002(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.8% loop [8] 43.5% run-improve58 [2] 6.3% simplify [35] 0.4% ---------------------------------------------------------------------- make-exacts* [17] 0.9% ??? [6] 1.3% map [23] 3.1% loop [29] 94.8% [29] 16750(88.1%) 218(1.1%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [29] 94.8% ??? [32] 3.8% hash-ref! [58] 1.3% ->flonum [33] 0.2% ---------------------------------------------------------------------- option-on-expr [24] 100.0% [30] 1564(8.2%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [34] 100.0% ---------------------------------------------------------------------- for-loop [27] 100.0% [31] 214(1.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [36] 100.0% ---------------------------------------------------------------------- loop [29] 100.0% [32] 14408(75.8%) 1164(6.1%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [37] 75.9% real->bigfloat [38] 13.1% ??? [53] 2.9% ---------------------------------------------------------------------- loop [29] 100.0% [33] 1914(10.1%) 448(2.4%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [57] 36.9% ??? [41] 25.2% ??? [40] 14.5% ---------------------------------------------------------------------- sort-context-on-expr [30] 100.0% [34] 1564(8.2%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [39] 71.7% loop [46] 28.3% ---------------------------------------------------------------------- ??? [28] 100.0% [35] 240(1.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [42] 100.0% ---------------------------------------------------------------------- taylor-alt [31] 100.0% [36] 214(1.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [43] 100.0% ---------------------------------------------------------------------- ??? [32] 100.0% [37] 10938(57.6%) 238(1.3%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [44] 72.6% ...higher-order.rkt:373:33 [45] 25.2% ---------------------------------------------------------------------- ??? [32] 100.0% [38] 1882(9.9%) 1882(9.9%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- sort [34] 41.5% copying-mergesort [39] 58.5% [39] 1122(5.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [39] 58.5% loop [46] 26.7% jloop [3] 14.8% ---------------------------------------------------------------------- sample-default [26] 45.7% ->flonum [33] 54.3% [40] 512(2.7%) 512(2.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ->flonum [33] 100.0% [41] 482(2.5%) 246(1.3%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [54] 49.0% ---------------------------------------------------------------------- simplify [35] 100.0% [42] 240(1.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [47] 100.0% ---------------------------------------------------------------------- for-loop [36] 33.3% location-do [43] 66.7% [43] 214(1.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [43] 66.7% approximate9 [4] 33.3% ---------------------------------------------------------------------- ??? [37] 100.0% [44] 7946(41.8%) 698(3.7%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [48] 55.8% bfneg [49] 24.2% ??? [57] 11.3% ---------------------------------------------------------------------- ??? [37] 100.0% [45] 2754(14.5%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [53] 69.8% ??? [51] 30.2% ---------------------------------------------------------------------- sort [34] 49.0% copying-mergesort [39] 51.0% [46] 902(4.7%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [50] 100.0% ---------------------------------------------------------------------- simplify-expr [42] 100.0% [47] 240(1.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [52] 100.0% ---------------------------------------------------------------------- ??? [44] 100.0% [48] 4430(23.3%) 3060(16.1%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [54] 30.9% ---------------------------------------------------------------------- ??? [44] 100.0% [49] 1920(10.1%) 934(4.9%) bfneg ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [54] 51.4% ---------------------------------------------------------------------- jloop [3] 42.3% loop [46] 57.7% [50] 1564(8.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [55] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [45]100.0% [51] 832(4.4%) 194(1.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [53] 76.7% ---------------------------------------------------------------------- iterate-egraph!5 [47] 100.0% [52] 240(1.3%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 apply-match [56] 100.0% ---------------------------------------------------------------------- ??? [32] 14.2% ??? [51] 21.4% ...higher-order.rkt:373:33 [45] 64.4% [53] 2984(15.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [57] 100.0% ---------------------------------------------------------------------- ??? [41] 9.1% bfneg [49] 38.0% bfdiv [48] 52.9% [54] 2592(13.6%) 2592(13.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- loop [13] 11.8% ??? [50] 88.2% [55] 1774(9.3%) 1344(7.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 inductor [60] 12.4% hash-ref! [58] 11.8% ---------------------------------------------------------------------- one-iter [52] 100.0% [56] 240(1.3%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [59] 100.0% ---------------------------------------------------------------------- ->flonum [33] 15.4% ??? [44] 19.6% ??? [53] 65.0% [57] 4588(24.1%) 1738(9.1%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [61] 57.8% ??? [65] 4.4% ---------------------------------------------------------------------- eval-prog [55] 16.5% for-loop [11] 16.8% ??? [63] 16.8% loop [12] 16.8% loop [29] 33.0% [58] 424(2.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [6] 33.0% ??? [63] 16.8% ??? [5] 16.8% simplify [62] 16.8% bigfloat-hash [64] 16.5% ---------------------------------------------------------------------- apply-match [56] 100.0% [59] 240(1.3%) 240(1.3%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 ---------------------------------------------------------------------- inductor [60] 50.0% eval-prog [55] 50.0% [60] 220(1.2%) 220(1.2%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [60] 50.0% ---------------------------------------------------------------------- ??? [57] 100.0% [61] 2650(13.9%) 1598(8.4%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [66] 39.7% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [62] 214(1.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [67] 100.0% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [63] 214(1.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [58] 100.0% ---------------------------------------------------------------------- hash-ref! [58] 100.0% [64] 210(1.1%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [68] 100.0% ---------------------------------------------------------------------- ??? [57] 100.0% [65] 200(1.1%) 200(1.1%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ---------------------------------------------------------------------- ??? [61] 100.0% [66] 1052(5.5%) 1052(5.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------- simplify [62] 100.0% [67] 214(1.1%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 parse-app [69] 100.0% ---------------------------------------------------------------------- bigfloat-hash [64] 100.0% [68] 210(1.1%) 210(1.1%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- f37 [67] 100.0% [69] 214(1.1%) 214(1.1%) parse-app .../collects/racket/private/kw.rkt:903:2 ----------------------------------------------------------------------