jak-project/common
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
..
audio logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
cross_os_debug lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
cross_sockets repl: Add a few new quality of life improvements (#2030) 2022-11-20 14:28:41 -05:00
custom_data [decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day (#1943) 2022-10-08 13:33:03 -04:00
dma offline-test: Partition by DGO and colorize/condense output (#2045) 2022-12-22 13:41:33 -05:00
global_profiler logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
goos offline-test: Partition by DGO and colorize/condense output (#2045) 2022-12-22 13:41:33 -05:00
log fix deadlock on shutdown (#1937) 2022-10-01 12:29:08 -04:00
math [decomp] make defpart and defpartgroup work in jak 2 (#1947) 2022-10-09 12:53:44 -04:00
nrepl lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
serialization/subtitles logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
texture W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
type_system offline-test: Partition by DGO and colorize/condense output (#2045) 2022-12-22 13:41:33 -05:00
util offline-test: Partition by DGO and colorize/condense output (#2045) 2022-12-22 13:41:33 -05:00
CMakeLists.txt goalc/repl: Allow hot-loading files via ml with just the object name (#2036) 2022-11-29 19:22:22 -05:00
common_types.h [decomp] add mips2c converter (#842) 2021-09-11 20:52:35 -04:00
goal_constants.h tools: Fix the memory dump analysis tool (#1690) 2022-07-22 11:55:18 -04:00
link_types.h [goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO (#1625) 2022-07-08 19:23:49 -04:00
listener_common.h improve performance on intel graphics (#1041) 2021-12-30 19:38:18 -05:00
symbols.h [goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO (#1625) 2022-07-08 19:23:49 -04:00
versions.cpp offline-test: Partition by DGO and colorize/condense output (#2045) 2022-12-22 13:41:33 -05:00
versions.h [decomp] Jak 2 mips2c, collide-func (#1805) 2022-08-26 18:03:48 -04:00