Sha256: c4c63c700363038d47ea332e29812aee525fbe131a026fece909d414eb8fd32f

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

require_relative "performance_helper"
require "cgi"

S = 'abcde マfgイ'

def nyara
  Nyara::Ext.rdtsc_start
  Nyara::Ext.escape S, false
  Nyara::Ext.rdtsc
end

def cgi
  Nyara::Ext.rdtsc_start
  CGI.escape S
  Nyara::Ext.rdtsc
end

nyara
cgi

dump nyara: nyara, cgi: cgi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nyara-0.1.pre.2 spec/performance/escape.rb
nyara-0.1.pre.1 spec/performance/escape.rb
nyara-0.1.pre.0 spec/performance/escape.rb