Created
January 14, 2013 20:56
-
-
Save dyoo/4533369 to your computer and use it in GitHub Desktop.
updated profile of json on large file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ racket perf.rkt | |
Profiling results | |
----------------- | |
Total cpu time observed: 36182ms (out of 36345ms) | |
Number of samples taken: 634 (once every 57ms) | |
============================================================ | |
Caller | |
Idx Total Self Name+src Local% | |
ms(pct) ms(pct) Callee | |
============================================================ | |
[1] 34098(94.2%) 0(0.0%) [running body] ...acket/collects/json/perf.rkt:##f | |
profile-thunk12 [2] 100.0% | |
------------------------------------------------------------ | |
[running body] [1] 100.0% | |
[2] 34098(94.2%) 0(0.0%) profile-thunk12 ...1/collects/profile/main.rkt:9:0 | |
run [3] 100.0% | |
------------------------------------------------------------ | |
profile-thunk12 [2] 100.0% | |
[3] 34098(94.2%) 456(1.3%) run ...acket v5.3.1/collects/profile/main.rkt:29:2 | |
read-hash [4] 97.1% | |
read-json21 [5] 1.5% | |
------------------------------------------------------------ | |
run [3] 100.0% | |
[4] 33120(91.5%) 0(0.0%) read-hash ...l/racket/collects/json/main.rkt:157:2 | |
loop [6] 100.0% | |
------------------------------------------------------------ | |
run [3] 100.0% | |
[5] 522(1.4%) 0(0.0%) read-json21 .../racket/collects/json/main.rkt:96:0 | |
port->string [7] 100.0% | |
------------------------------------------------------------ | |
loop [6] 32.6% | |
read-pair [8] 33.7% | |
read-hash [4] 33.7% | |
[6] 33120(91.5%) 8286(22.9%) loop ...local/racket/collects/json/main.rkt:146:11 | |
read-pair [8] 33.7% | |
loop [6] 32.6% | |
read-json54 [10] 12.3% | |
loop [11] 7.8% | |
read-list [9] 4.9% | |
------------------------------------------------------------ | |
read-json21 [5] 100.0% | |
[7] 522(1.4%) 522(1.4%) port->string ....3.1/collects/racket/port.rkt:90:0 | |
------------------------------------------------------------ | |
loop [6] 100.0% | |
[8] 33120(91.5%) 0(0.0%) read-pair ...l/racket/collects/json/main.rkt:158:4 | |
loop [6] 100.0% | |
------------------------------------------------------------ | |
loop [6] 100.0% | |
[9] 4555(12.6%) 272(0.8%) read-list ...l/racket/collects/json/main.rkt:140:2 | |
read-json54 [10] 47.9% | |
loop [11] 46.1% | |
------------------------------------------------------------ | |
read-list [9] 14.9% | |
loop [6] 85.1% | |
[10] 14648(40.5%) 4567(12.6%) read-json54 ...racket/collects/json/main.rkt:167:2 | |
regexp-try-match [12] 68.8% | |
------------------------------------------------------------ | |
read-list [9] 21.2% | |
loop [6] 78.8% | |
[11] 9914(27.4%) 1076(3.0%) loop .../local/racket/collects/json/main.rkt:109:4 | |
regexp-try-match [12] 89.2% | |
------------------------------------------------------------ | |
loop [11] 46.7% | |
read-json54 [10] 53.3% | |
[12] 18918(52.3%) 18918(52.3%) regexp-try-match ...racket/private/string.rkt:90:2 | |
------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment