Skip to content

Commit

Permalink
Fix rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus committed May 14, 2024
1 parent 26275a3 commit cc5eaa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bench.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

Benchmark.bm(40) do |x|
x.report('pygments popen ') do
(1..num).each { |_i|; Pygments.highlight(code, lexer: 'python'); }
(1..num).each { |_i|; Pygments.highlight(code, lexer: 'python') }
end
x.report('pygments popen (process already started) ') do
(1..num).each { |_i|; Pygments.highlight(code, lexer: 'python'); }
(1..num).each { |_i|; Pygments.highlight(code, lexer: 'python') }
end
x.report('pygments popen (process already started 2) ') do
(1..num).each { |_i|; Pygments.highlight(code, lexer: 'python'); }
(1..num).each { |_i|; Pygments.highlight(code, lexer: 'python') }
end
end

0 comments on commit cc5eaa6

Please sign in to comment.