mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Use mini_racer
from @SamSaffron instead of therubyracer
There are no significant performance difference in our tests,
but does get rid of many warnings. 🤘
Bench:
```
Finished in 18.184895s, 58.8400 runs/s, 130.3829 assertions/s.
1070 runs, 2371 assertions, 0 failures, 0 errors, 0 skips
real 0m25.964s
user 0m11.628s
sys 0m2.011s
```
```
Finished in 19.718860s, 53.9078 runs/s, 119.4795 assertions/s.
1063 runs, 2356 assertions, 0 failures, 0 errors, 0 skips
real 0m26.994s
user 0m12.599s
sys 0m2.188s
```
This commit is contained in:
parent
e014853269
commit
faeffd76ee
1 changed files with 1 additions and 1 deletions
2
Gemfile
2
Gemfile
|
@ -24,7 +24,7 @@ end
|
|||
|
||||
if RUBY_ENGINE == "ruby"
|
||||
gem 'less', '~> 2.0'
|
||||
gem 'therubyracer'
|
||||
gem 'mini_racer'
|
||||
gem 'redcarpet'
|
||||
gem 'wlang', '>= 2.0.1'
|
||||
gem 'bluecloth'
|
||||
|
|
Loading…
Reference in a new issue