Giter VIP home page Giter VIP logo

rgl's Introduction

rgl

Fast and minimal implementation of Regolith.

Benchmark

Benchmark result on a project with ~2700 files, no filters, and a total size of 14MB.

$ hyperfine --warmup 3 --runs 10 --setup 'rgl clean' 'regolith run' 'regolith run --experiments size_time_check' 'rgl run' 'rgl run --cached'

Benchmark 1: regolith run
  Time (mean ± σ):      1.543 s ±  0.017 s    [User: 0.037 s, System: 0.427 s]
  Range (min … max):    1.511 s …  1.577 s    10 runs

Benchmark 2: regolith run --experiments size_time_check
  Time (mean ± σ):     438.5 ms ±   7.2 ms    [User: 15.2 ms, System: 62.5 ms]
  Range (min … max):   429.1 ms … 448.7 ms    10 runs

Benchmark 3: rgl run
  Time (mean ± σ):     384.8 ms ±  10.4 ms    [User: 44.8 ms, System: 614.1 ms]
  Range (min … max):   364.1 ms … 402.8 ms    10 runs

Benchmark 4: rgl run --cached
  Time (mean ± σ):      76.1 ms ±   1.2 ms    [User: 10.6 ms, System: 46.9 ms]
  Range (min … max):    74.0 ms …  77.8 ms    10 runs

Summary
  rgl run --cached ran
    5.06 ± 0.16 times faster than rgl run
    5.76 ± 0.13 times faster than regolith run --experiments size_time_check
   20.28 ± 0.39 times faster than regolith run

Results may vary depending on your machine, project size, and what kind of filters are used. In this case, rgl is 4x faster than Regolith and 20x faster when using the --cached flag.

Install

Shell (Mac, Linux):

curl -fsSL rgl.ink0rr.dev/install.sh | sh

PowerShell (Windows):

irm rgl.ink0rr.dev/install.ps1 | iex

Uninstall

Delete the ~/.rgl directory.

Compatibility

Known Issues

unzip is required

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.