Skip to content

V2021#846

Merged
thefallentree merged 2 commits intomasterfrom
v2021
Sep 11, 2021
Merged

V2021#846
thefallentree merged 2 commits intomasterfrom
v2021

Conversation

@thefallentree
Copy link
Copy Markdown
Member

No description provided.

@thefallentree
Copy link
Copy Markdown
Member Author

before:

]fluffos v2019.20210429-62-g90fcf1f0
]fib_recur(10)                 :      13447 ns
]fib_recur(20)                 :    1839592 ns
]fib(10)                       :        930 ns
]fib(46)                       :       1764 ns
]fib(47)                       :       2185 ns
]fib(92)                       :       2029 ns
]instruction                   :          8 ns
]empty for                     :        997 ns
]while                         :      50793 ns
]while2                        :     137698 ns
]if (x == 0) T                 :          7 ns
]if (x == 0) F                 :          8 ns
]if (x) T                      :         12 ns
]if (x) F                      :         10 ns
]if (x < n) T                  :         16 ns
]if (x < n) F                  :         10 ns
]if (!x) T                     :         11 ns
]if (!x) F                     :         10 ns
]if (x == n) T                 :         17 ns
]if (x == n) F                 :         10 ns
]if (x && y && z) F            :         22 ns
]if (x && y && z) TF           :         30 ns
]if (x && y && z) TTF          :         59 ns
]if (x && y && z) TTT          :         51 ns
]string assign (s)             :         22 ns
]string assign (m)             :         22 ns
]string add (ss)               :          9 ns
]string add (sm)               :          9 ns
]string add (ms)               :          9 ns
]string add (mm)               :          9 ns
]string += (ss)                :         40 ns
]string += (sm)                :         43 ns
]string += (ms)                :         41 ns
]string += (mm)                :         43 ns
]string range early            :       5690 ns
]string range late             :       4600 ns
]string find/strsrch single    :       4375 ns
]string find/strsrch early     :       4264 ns
]string find/strsrch late slow :     153104 ns
]string find/strsrch late fast :     147670 ns
]string find/strsrch miss1     :       4110 ns
]string find/strsrch miss2     :       4342 ns
]string find/strsrch miss3     :       4021 ns
]string split/explode per char :        187 ns
]string split/explode newline  :     288242 ns
]string split/explode hit1     :      59347 ns
]string split/explode hit2     :      60592 ns
]string split/explode miss     :      46259 ns
]allocate array                :        337 ns
]array creation (int)          :         10 ns
]array creation (string)       :          9 ns
]array assign                  :         19 ns
]array addition                :          9 ns
]array subtraction             :          9 ns
]array lookup                  :          9 ns
]array +=                      :         90 ns
]array -=                      :        165 ns
]allocate mapping              :        147 ns
]mapping creation (int)        :          9 ns
]mapping creation (string)     :          9 ns
]mapping assign                :         19 ns
]lookup string (exist)         :          9 ns
]lookup string (missing)       :          9 ns
]lookup int (exist)            :          9 ns
]lookup int (missing)          :          9 ns
]mapping insert                :         33 ns
]mapping replace               :         28 ns
]mapping delete                :         23 ns
]local call (no args)          :         30 ns
]local call (1 arg)            :         37 ns
]local call (2 args)           :         53 ns
]local call (3 args)           :         52 ns
]simul_efun                    :         37 ns
]call_other                    :        354 ns
]call_other (string)           :        429 ns
]call_other (miss)             :        366 ns
]inherited call                :         38 ns
]explicit inherited            :         32 ns
]save_object                   :     508640 ns
]restore_object                :      38632 ns
]json_decode                   :    2567780 ns
]json_encode                   :     898828 ns
]
]Total: 6205394298 ns.

after:

]fluffos v2019.20210429-62-g90fcf1f0
]fib_recur(10)                 :      19683 ns
]fib_recur(20)                 :    2806952 ns
]fib(10)                       :       1729 ns
]fib(46)                       :       3573 ns
]fib(47)                       :       4305 ns
]fib(92)                       :       3932 ns
]instruction                   :         16 ns
]empty for                     :       1869 ns
]while                         :      91405 ns
]while2                        :     298499 ns
]if (x == 0) T                 :         14 ns
]if (x == 0) F                 :         13 ns
]if (x) T                      :          4 ns
]if (x) F                      :         12 ns
]if (x < n) T                  :         12 ns
]if (x < n) F                  :         13 ns
]if (!x) T                     :          7 ns
]if (!x) F                     :         12 ns
]if (x == n) T                 :         29 ns
]if (x == n) F                 :         12 ns
]if (x && y && z) F            :         34 ns
]if (x && y && z) TF           :         43 ns
]if (x && y && z) TTF          :         73 ns
]if (x && y && z) TTT          :         66 ns
]string assign (s)             :         26 ns
]string assign (m)             :         29 ns
]string add (ss)               :         12 ns
]string add (sm)               :         13 ns
]string add (ms)               :         13 ns
]string add (mm)               :         13 ns
]string += (ss)                :         58 ns
]string += (sm)                :         51 ns
]string += (ms)                :         51 ns
]string += (mm)                :         50 ns
]string range early            :       2810 ns
]string range late             :       1858 ns
]string find/strsrch single    :       1863 ns
]string find/strsrch early     :       1988 ns
]string find/strsrch late slow :     185928 ns
]string find/strsrch late fast :     164139 ns
]string find/strsrch miss1     :       1425 ns
]string find/strsrch miss2     :       1419 ns
]string find/strsrch miss3     :       1271 ns
]string split/explode per char :        197 ns
]string split/explode newline  :     325426 ns
]string split/explode hit1     :      69692 ns
]string split/explode hit2     :      75496 ns
]string split/explode miss     :      64604 ns
]allocate array                :        363 ns
]array creation (int)          :         10 ns
]array creation (string)       :         10 ns
]array assign                  :         21 ns
]array addition                :         10 ns
]array subtraction             :         10 ns
]array lookup                  :         10 ns
]array +=                      :         91 ns
]array -=                      :        180 ns
]allocate mapping              :        156 ns
]mapping creation (int)        :          9 ns
]mapping creation (string)     :          9 ns
]mapping assign                :         21 ns
]lookup string (exist)         :          9 ns
]lookup string (missing)       :          9 ns
]lookup int (exist)            :          9 ns
]lookup int (missing)          :          9 ns
]mapping insert                :         35 ns
]mapping replace               :         27 ns
]mapping delete                :         20 ns
]local call (no args)          :         36 ns
]local call (1 arg)            :         61 ns
]local call (2 args)           :         50 ns
]local call (3 args)           :         56 ns
]simul_efun                    :         45 ns
]call_other                    :        313 ns
]call_other (string)           :        355 ns
]call_other (miss)             :        301 ns
]inherited call                :         34 ns
]explicit inherited            :         27 ns
]save_object                   :     545826 ns
]restore_object                :      37127 ns
]json_decode                   :    2462246 ns
]json_encode                   :     853022 ns
]
]Total: 6683548453 ns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant