æ¨æ¥ã¡ããã£ã¨è¨ã£ã¦ã¿ãã大ããå·®ãåºãã®ã§ãã¿ã¨ãã¦ã
æåJava1.4.2ã¨Java7.0ã ããæ¯ã¹ã¦ãããã¡ã¸ã£ã¼ãã¼ã¸ã§ã³2ã¤é£ã°ãã¦è¨æ¸¬ã¯ã¢ã¬ã¿ãããªåå¿ããã£ãã®ã§ãéã®ã測ã£ã¦ã¿ã¾ããã
æååæä½ã¯æ¥åã·ã¹ãã ã ã¨æ²¢å±±ã®ç®æã§ä½¿ããã¦ããã¨æã£ã¦ãã¾ãã
å
¥åå¤ãã§ãã¯ã«å§ã¾ãCSVåºåã¾ã§å°ãããã®ãã大ããç©ã¾ã§ã
java.net.URLEncoderã¨ããã¯ã©ã¹ãããã¾ããã
ãã¡ãã®ã¯ã©ã¹ã¯ãæååã解æãã¦ãä»ã®æååã«çµã¿æ¿ãã¦ãããã¯ã©ã¹ã§ãã
ä»åã¯ãã®ã¯ã©ã¹ãå®è¡ããã¦ãJava1.4.2ã¨Java5.0ã¨Java6.0ã¨Java7.0ã§ã®é度ã®å·®ã測ã£ã¦ã¿ã¾ããã
ãªããå®è¡ç°å¢ã¯Core2Duo P8600(2.4GHz)ä¸ã®Windows Vista(32bit)ã§ãã
Java1.4.2_19
ã | 1ã«ã¼ãç® | 2ã«ã¼ãç® |
1 | 19617 | 19762 |
2 | 19572 | 19561 |
3 | 19561 | 19605 |
Java1.5.0_22
ã | 1ã«ã¼ãç® | 2ã«ã¼ãç® |
1 | 20337 | 20147 |
2 | 20415 | 20040 |
3 | 20409 | 20159 |
Java1.6.0_29
ã | 1ã«ã¼ãç® | 2ã«ã¼ãç® |
1 | 11246 | 9301 |
2 | 11158 | 9299 |
3 | 11205 | 9324 |
Java1.7.0
ã | 1ã«ã¼ãç® | 2ã«ã¼ãç® |
1 | 10028 | 7898 |
2 | 9996 | 7894 |
3 | 10007 | 7994 |
(åä½ã¯ms)
â»å称ã¯ä½¿ç¨ããã©ã³ã¿ã¤ã ã«ä½µãã¦ããã¾ãã
â»2å測å®ãã¦ããã®ã¯æé©åã®æ©æµãåããå¾ã®çµæã®ã¿ãè¦ãããã§ãã
(ä¸åç®ã¯æé©ååå¾ã®çµæãæ··ãã£ã¦ããã¯ã)
ä»åãjava1.4.2_19ããJava7.0ã¾ã§æ¸¬å®ãã¦ã¿ããã2å以ä¸ã®é度ã®å·®ãåºã¾ããã
ãã¼ã¸ã§ã³ãä¸ããã ãã§å以ä¸ã®æ§è½ã«ãªãã®ã ãªãã¨ææ¿ã
ç¹ã«ãJava5.0ã¨Java6.0ã®éã«ãã®ãããæé©åãå³ããã¦ããã¨ããã®ã¯é©åããã°ããã§ãã
以åãCSVåºåå¦çãä½ã£ããã¨ãããã®ã§ãããä»åã®å¦çã¯CSVåºåã§ä½¿ç¨ããå¦çãå°ååãããããªãã®ã¨ã®å°è±¡ã§ãã
Java5.0以ä¸ã使ç¨ãã¦ãã¦CSVåºåã§æ§è½å£åãæ¿ããçå°ããã¦ããå ´åã¯ããã ãã§Javaã®ãã¼ã¸ã§ã³ãä¸ããã»ããè¯ãããããã¾ããã
#ããEODè¿ãã¦ããï¼
ãªããã½ã¼ã¹ã³ã¼ãã®ä¸é¨ã« @seratch ããã®ã³ã¼ãã使ããã¦ããã ãã¦ã¾ãw