Commit graph

16 commits

Author SHA1 Message Date
mingodad
204ee9d17b Add an option to output profiling/coverage info (basically function calls count and clock_t time spent).
There is an option to define how many samples to use with the definition of compile time macro "PROFILE_CALLS_SAMPLE" the default value is 10.
The code is guarded by a compile time macro "CONFIG_PROFILE_CALLS", to build execute "make CONFIG_PROFILE_CALLS=1".
When using the added option "-p" we can repeat it up to 3 times:
- "-p" -> Only update calls count and omit functions with 0 calls
- "-p -p" -> Update calls count and sampled time_spent  and omit functions with 0 calls
- "-p -p -p" -> Like the above but showing functions with 0 calls.
The output format:
=[ code_line call_count acumulated_time_spent average_time_spent function_name ]
[454	2	1	6	xfillArr]
2023-06-06 14:13:10 +02:00
bellard
2788d71e82 updated to Unicode 14.0.0 2022-03-06 19:00:24 +01:00
bellard
851695958a updated test262.conf 2022-03-06 18:55:04 +01:00
bellard
446099aa9e added Object.hasOwn() 2022-03-06 18:54:27 +01:00
bellard
b9f58802dc fixed invalid Array.prototype.push/unshift optimization 2022-03-06 18:53:03 +01:00
bellard
b5e62895c6 2021-03-27 release 2021-03-27 11:17:31 +01:00
bellard
204682fb87 2020-11-08 release take 2 2020-11-08 14:44:20 +01:00
bellard
b1f67dfc1a 2020-11-08 release 2020-11-08 14:30:56 +01:00
bellard
7c312df422 2020-09-06 release 2020-09-06 19:10:15 +02:00
bellard
8900766099 2020-07-05 release 2020-09-06 19:07:30 +02:00
bellard
1722758717 2020-04-12 release 2020-09-06 19:04:20 +02:00
bellard
383e2b06c8 2020-03-16 release 2020-09-06 19:02:03 +02:00
bellard
0e8fffd4de 2020-01-19 release 2020-09-06 18:57:11 +02:00
bellard
91459fb672 2020-01-05 release 2020-09-06 18:53:08 +02:00
bellard
9096e544ba test 2020-09-06 18:47:30 +02:00
bellard
831dc3af46
Initial commit 2020-09-06 18:24:53 +02:00