jak-project/goalc/compiler
Tyler Wilding 9c631e11fe
offline-test: Partition by DGO and colorize/condense output (#2045)
This solves two main problems:
- the looming threat of running out of memory since every thread would
consume duplicate (and probably not needed) resources
- though I will point out, jak 2's offline tests seem to hardly use any
memory even with 400+ files, duplicated across many threads. Where as
jak 1 does indeed use tons more memory. So I think there is something
going on besides just the source files
- condense the output so it's much easier to see what is happening / how
close the test is to completing.
- one annoying thing about the multiple thread change was errors were
typically buried far in the middle of the output, this fixes that
- refactors the offline test code in general to be a lot more modular

The pretty printing is not enabled by default, run with `-p` or
`--pretty-print` if you want to use it


https://user-images.githubusercontent.com/13153231/205513212-a65c20d4-ce36-44f6-826a-cd475505dbf9.mp4
2022-12-22 13:41:33 -05:00
..
compilation goalc/repl: Allow hot-loading files via ml with just the object name (#2036) 2022-11-29 19:22:22 -05:00
CodeGenerator.cpp [goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO (#1625) 2022-07-08 19:23:49 -04:00
CodeGenerator.h [goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO (#1625) 2022-07-08 19:23:49 -04:00
Compiler.cpp goalc/repl: Allow hot-loading files via ml with just the object name (#2036) 2022-11-29 19:22:22 -05:00
Compiler.h goalc/repl: Allow hot-loading files via ml with just the object name (#2036) 2022-11-29 19:22:22 -05:00
CompilerException.h Add some compiler features and documentation (#147) 2020-12-01 21:39:46 -05:00
CompilerSettings.cpp [jak2] support for multiple out/ directories (#1585) 2022-06-30 21:11:58 -04:00
CompilerSettings.h [jak2] support for multiple out/ directories (#1585) 2022-06-30 21:11:58 -04:00
ConstantValue.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Env.cpp goalc/repl: Allow hot-loading files via ml with just the object name (#2036) 2022-11-29 19:22:22 -05:00
Env.h goalc/repl: Allow hot-loading files via ml with just the object name (#2036) 2022-11-29 19:22:22 -05:00
IR.cpp offline-test: Partition by DGO and colorize/condense output (#2045) 2022-12-22 13:41:33 -05:00
IR.h [decompile] subdivide, wind-work, tie-work, bsp, focus (#1897) 2022-09-17 14:58:25 -04:00
Label.h Add #pragma once to all headers 2020-09-13 21:36:35 -04:00
Lambda.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
StaticObject.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
StaticObject.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
SymbolInfo.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Util.cpp goalc/repl: Allow hot-loading files via ml with just the object name (#2036) 2022-11-29 19:22:22 -05:00
Val.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Val.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00