Website Summary Files Commits Branches @commit @diff @stats
path: root / gctest / README.md
blob: 57528fb2a148c10fef2deaa252bd2c3174c92132 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# GC Test Bench

A program to stress test garbage collector implementations.

## Building

The program is implemented as a static library, that has to be linked together
with the garbage collector implementation to produce a test program.

## Adding a new Garbage Collector implementation

1. Implement the `GarbageCollector` interface from `gc.h` and the factory
   function
2. Add a new target in the `genie.lua` project

## Running

Running the program produces a `program.json` that can be open in
`chrome://tracing` to allow analysis of the mutator vs garbage collector CPU
usage and memory usage.