cosmopolitan/test/libc/intrin
Justine Tunney 8c645fa1ee
Make mmap() scalable
It's now possible to create thousands of thousands of sparse independent
memory mappings, without any slowdown. The memory manager is better with
tracking memory protection now, particularly on Windows in a precise way
that can be restored during fork(). You now have the highest quality mem
manager possible. It's even better than some OSes like XNU, where mmap()
is implemented as an O(n) operation which means sadly things aren't much
improved over there. With this change the llamafile HTTP server endpoint
at /tokenize with a prompt of 50 tokens is now able to handle 2.6m r/sec
2024-07-05 23:26:00 -07:00
..
BUILD.mk Rewrite memory manager 2024-06-22 05:45:11 -07:00
cosmo_once_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
countbits_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
demangle_cases.inc Write more __demangle() tests 2024-06-02 07:37:15 -07:00
demangle_test.c Fix the MODE=tiny builds 2024-06-03 10:36:38 -07:00
describeflags_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describegidlist_test.c Run clang-format () 2024-06-01 16:30:43 -04:00
describesigset_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
dos2errno_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fmax_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
formatint32_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getenv_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
kprintf_test.c Simplify memory manager 2024-07-05 05:47:15 -07:00
lock_test.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
lockipc_test.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
lockscale_test.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
magicu_test.c Rerun clang-format on the repo () 2024-06-15 16:34:48 -04:00
memchr_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memcmp_test.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
memmove_test.c Update Emacs config 2024-03-22 19:27:11 -07:00
memrchr_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memset_test.c Delete ASAN 2024-06-22 05:45:49 -07:00
mmap_scalability_test.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
mmap_test.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
mprotect_test.c Simplify memory manager 2024-07-05 05:47:15 -07:00
munmap_test.c Delete ASAN 2024-06-22 05:45:49 -07:00
popcnt_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutex_lock2_test.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
pthread_mutex_lock_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
pthread_spin_lock_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
putenv_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
rand64_test.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
sched_yield_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strchr_test.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
strcmp_test.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
strlen_test.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
strrchr_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strsignal_r_test.c Apply clang-format update to repo () 2024-04-25 10:38:00 -07:00
tree_test.c Make mmap() scalable 2024-07-05 23:26:00 -07:00