More compile timers, euler3
This commit is contained in:
@@ -484,6 +484,7 @@ gen_ast(Ast *ast){
|
||||
|
||||
function String
|
||||
compile_string(String filecontent, String filename = "default_name"_s){
|
||||
F64 total_time = os_time();
|
||||
Scratch scratch(thread_ctx.scratch);
|
||||
OS_Heap heap = win32_os_heap_create(false, mib(4), 0);
|
||||
|
||||
@@ -559,6 +560,7 @@ int main(){
|
||||
printf("\n// Resolving : %f", resolve_end - resolve_begin);
|
||||
printf("\n// Codegen : %f", codegen_end - codegen_begin);
|
||||
printf("\n// Flattening : %f", flattening_end - flattening_begin);
|
||||
printf("\n// Total : %f", flattening_end - total_time);
|
||||
printf("\n//-------------------------------");
|
||||
|
||||
return string_result;
|
||||
|
||||
Reference in New Issue
Block a user