mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Make some systemic improvements
- add vdso dump utility - tests now log stack usage - rename g_ftrace to __ftrace - make internal spinlocks go faster - add conformant c11 atomics library - function tracing now logs stack usage - make function call tracing thread safe - add -X unsecure (no ssl) mode to redbean - munmap() has more consistent behavior now - pacify fsync() calls on python unit tests - make --strace flag work better in redbean - start minimizing and documenting compiler flags
This commit is contained in:
parent
c6bbca55e9
commit
9208c83f7a
141 changed files with 1948 additions and 1411 deletions
|
@ -94,9 +94,13 @@ TEST(LengthInt64Thousands, test) {
|
|||
}
|
||||
|
||||
BENCH(LengthInt64, bench) {
|
||||
EZBENCH2("LengthInt64", donothing, LengthInt64(INT64_MIN));
|
||||
EZBENCH2("LengthUint64", donothing, LengthUint64(UINT64_MAX));
|
||||
EZBENCH2("LengthInt64Thousands", donothing, LengthInt64Thousands(INT64_MIN));
|
||||
unsigned LengthInt64_(int64_t) asm("LengthInt64");
|
||||
unsigned LengthUint64_(uint64_t) asm("LengthUint64");
|
||||
unsigned LengthInt64Thousands_(int64_t) asm("LengthInt64Thousands");
|
||||
unsigned LengthUint64Thousands_(uint64_t) asm("LengthUint64Thousands");
|
||||
EZBENCH2("LengthInt64", donothing, LengthInt64_(INT64_MIN));
|
||||
EZBENCH2("LengthUint64", donothing, LengthUint64_(UINT64_MAX));
|
||||
EZBENCH2("LengthInt64Thousands", donothing, LengthInt64Thousands_(INT64_MIN));
|
||||
EZBENCH2("LengthUint64Thousands", donothing,
|
||||
LengthUint64Thousands(UINT64_MAX));
|
||||
LengthUint64Thousands_(UINT64_MAX));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue