Sha256: ca21a700fc407def2620557cb366eb9670468352782a85a184a36f2f6e54cfe8

Contents?: true

Size: 201 Bytes

Versions: 2

Compression:

Stored size: 201 Bytes

Contents

require_relative "performance_helper"
require "cgi"

s = 'abcde マfgイ'

GC.disable

nyara = bench(10000){ Nyara::Ext.escape s, false }
cgi = bench(10000){ CGI.escape s }
dump nyara: nyara, cgi: cgi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nyara-0.0.1.pre.9 spec/performance/escape.rb
nyara-0.0.1.pre.8 spec/performance/escape.rb