Commit Graph

6 Commits

Author SHA1 Message Date
Jean Boussier fbb7146ef2 Fix Bootsnap.unload_cache!
Fix: #421

It was broken because of some stupid rebase mistakes...
2022-08-11 10:50:44 +02:00
Jean Boussier b277e75e85 Cleanup the rubocop config
Go back to rubocop 0.80 for Ruby 2.3 support.
Stop depending on the company style guide, as it needs a newer
rubocop.
2022-01-13 10:05:10 +01:00
Jean Boussier 33d39d2cc0 Implement a JSON compilation cache
Now that the `json` gem added a `JSON.load_file` method,
we can apply the same optimization than for YAML.
2021-09-16 14:28:07 +02:00
Jean Boussier c744f08988 Revert "Enable ISeq caching on 2.5.4+"
This reverts commit 4bf7a665c7.

I'm not so sure the fix have been backported anymore
2021-02-01 15:12:30 +01:00
Jean Boussier 0dc8f2b6b4 Adds an instrumentation API to monitor cache misses 2021-02-01 11:51:37 +01:00
Jean Boussier 9d6ff0e94e Allow to control the behavior of `require 'bootsnap/setup'` using environment variables. 2021-02-01 10:43:45 +01:00