move remaining parts of frontend to xxhash, eliminate blake2; sketch out test program for debug string performance testing

This commit is contained in:
Ryan Fleury
2025-01-07 10:40:55 -08:00
parent 812cea7e73
commit c1a2023b15
30 changed files with 63 additions and 5865 deletions
+34
View File
@@ -0,0 +1,34 @@
#include <windows.h>
DWORD thread_entry_point(void *p)
{
for(int i = 0; i < 100000; i += 1)
{
OutputDebugString("this is a test\n");
}
return 0;
}
int main(int argc, char **argv)
{
HANDLE threads[] =
{
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
CreateThread(0, 0, thread_entry_point, 0, 0, 0),
};
for(int i = 0; i < sizeof(threads)/sizeof(threads[0]); i += 1)
{
WaitForSingleObject(threads[i], INFINITE);
}
return 0;
}