Fast and efficient Bedrock Addon Compiler.
Benchmark result on the bedrock-samples repo.
$ hyperfine --warmup 2 --runs 10 --setup 'rgl clean' 'regolith run --experiments=size_time_check' 'rgl run'
Benchmark 1: regolith run --experiments=size_time_check
Time (mean ± σ): 2.447 s ± 0.013 s [User: 0.502 s, System: 1.992 s]
Range (min … max): 2.430 s … 2.477 s 10 runs
Benchmark 2: rgl run
Time (mean ± σ): 151.7 ms ± 3.2 ms [User: 512.5 ms, System: 624.4 ms]
Range (min … max): 148.7 ms … 157.0 ms 10 runs
Summary
rgl run ran
16.13 ± 0.35 times faster than regolith run --experiments=size_time_check
Results may vary depending on your machine, project size, and what kind of filters are used. In this case, rgl is 16x faster than Regolith with size_time_check experiment enabled.
Shell (Mac, Linux):
curl -fsSL rgl.ink0rr.dev/install.sh | shPowerShell (Windows):
irm rgl.ink0rr.dev/install.ps1 | iexDelete the ~/.rgl directory.
- The Shell installer can be used on Windows with Windows Subsystem for Linux, MSYS or equivalent set of tools.
The program unzip is a requirement for the Shell installer.
When does this issue occur?
During the install.sh process, unzip is used to extract the zip archive.
How can this issue be fixed?
You can install unzip via brew install unzip on MacOS or apt-get install unzip -y on Linux.