mtsmfm / language_server-ruby

A Ruby Language Server implementation
MIT License
259 stars 8 forks source link

Use RubyVM::InstructionSequence.compile instead of open3 #30

Closed mtsmfm closed 7 years ago

mtsmfm commented 7 years ago

Close https://github.com/mtsmfm/language_server-ruby/issues/28

Before

Warming up --------------------------------------
                         1.000  i/100ms
Calculating -------------------------------------
                         10.343  (± 9.7%) i/s -     52.000  in   5.072126s

After

Warming up --------------------------------------
                       999.000  i/100ms
Calculating -------------------------------------
                         12.964k (±11.3%) i/s -     64.935k in   5.083127s