class BenchFormatXml

Constants

XML_FORMATTER_EXAMPLE

Public Class Methods

main() click to toggle source
# File vendor/qwik/lib/qwik/bench-format-xml.rb, line 59
def self.main
  ws = XML_FORMATTER_EXAMPLE
  n = 10000
  BenchmarkModule::benchmark {
    n.times {
      dummy = ws.format_xml
    }
  }
end