ãã£ãã ãããã¯ã¼ã¯è¶ãã ããé度ãåºãªãã®ã¯ã¾ããããã ãã©ãããã«ããã£ã¦é ãã å ·ä½çã«ã¯XMLã®ãã¼ã¹ãé ããé ãããã ãªãã¨ããªãã¬ãã ã©ãããXMLSimpleãããã«ããã¯ãããã JSON使ã£ãæ¹ãã¾ãããªãã ãã¼ãµã®é度æ¯è¼ åããã¼ã¿ãto_jsonã¨to_xmlã§ããããã·ãªã¢ã©ã¤ãºãããã¡ã¤ã«ãç¨æãï¼20æ°åã®ãã£ã¼ã«ããæã¤ã¬ã³ã¼ã20件ã®ãã®ãï¼ Hash.from_xmlï¼XmlSimpleï¼ãActiveSupport::JSON.decodeãJSON.parseï¼JSON implementation for Rubyï¼ããããã§ãã¼ã¹ã«å¿ è¦ãªæéã測å®ãã¦ã¿ãã Benchmark.bm do |x| x.report { 10.times{ Hash.from_xml(xml) } } x.report { 10.times{ Active
{{#tags}}- {{label}}
{{/tags}}