æè¿ãJavaScriptãšã³ãžã³ã®ããã©ãŒãã³ã¹ãã¹ãã¯éåžžã«äžè¬çã«ãªããŸããããäž»ã«ã¯ã©ã€ã¢ã³ããµã€ãJavaScriptã«é¢ä¿ããŠããŸãã ç§ã¯è³ªåã«èå³ããããŸããïŒãµãŒããŒãµã€ãã§ç©äºã¯ã©ããªã£ãŠããã®ã§ããïŒ ããããGoogle V8ãšSpiderMonkeyã ãããã¹ãããã®ã¯é¢çœããªãã§ãããã çµæã¯ã¯ã©ã€ã¢ã³ãåŽã®çµæãšåæ§ã§ããããšã¯æããã§ãããšã³ãžã³ã¯åãã§ãã ãããã£ãŠããã©ãŠã¶ã§å©çšã§ããªããã®ããã¹ãã«è¿œå ããå¿
èŠããããŸããããããã¯éåžžã«äžè¬çã§ããããµãŒããŒã¿ã¹ã¯ã«åºæã®ãã¹ãã䜿çšããããšãè©Šã¿ãŸãã ãã®æ¬ èœãããã¹ããªããžã§ã¯ãã¯ã.Net Frameworkã®JScriptã³ã³ãã€ã©ãŒã«ãã£ãŠç¢ºèªãããŸããã ããããäºåãã¹ãã®çµæã¯ç§ãé©ãããã®ã§ãåãããŒã ã®4人ç®ã®ãã¬ãŒã€ãŒãè¿œå ããããšã«ããŸããã
ã
ãŸã第äžã«ãç§ã¯ãã¹ãã®100ïŒ
客芳æ§ãšããç®æšãèšå®ããªãã£ããšèšããªããã°ãªããŸããã ç®æšã¯ãè
ã®é·ãïŒã°ãŒã°ã«ã§5åéïŒã§ã¢ã¯ã»ã¹ã§ãããšã³ãžã³ãšãç§ãã¢ã¯ã»ã¹ã§ããç°å¢ã§ãã¹ãããããšã§ããã ãããŠããïŒ
AMD Sempron 2800+ 1.6GHz 1Gb RAMäžã®Windows XP SP3
Intel Core i5 650 3.2GHz 4Gb RAMäžã®Windows 7 x64
ã¿ã¹ã¯ã®åçŽãã«ãããããããçµæã®ååŸã¯æ°æ¥éç¶ããŸããã
ãã¹ãæ¹æ³
ç°¡åãªãã¹ãæ¹æ³ãéžæãããŸããã åãã¹ãã¯ãã«ãŒãã§å€æ°åå®è¡ããããã«èµ·åãããç¹å®ã®æ©èœã§ãã ãµã€ã¯ã«å
šäœã®å®è¡æéã枬å®ãããŸãã åå埩ã®å¹³åå®è¡æéã¯ãè©äŸ¡åºæºãšããŠäœ¿çšãããŸãã çµ±èšçä¿¡é Œæ§ã®ååã«åŸã£ãŠããŸããã§ãã-ãã¹ããé£ç¶ããŠæ°åå®è¡ããå¹³ååå·®ãèšç®ããŸãã ç§ã®æèŠã§ã¯ããã®ã¢ãããŒãã«ã¯ããã¹ããæ°åå®è¡ããŠå¹³ååå·®ãèšç®ãããããæ·±ãåæãå¿
èŠã§ãã
ãã¹ãèªäœããã¹ãã«ãããæéãè©äŸ¡ããããã«ãæåã®ãã¹ãã¯ç©ºã®é¢æ°ã«ãªããŸãã ããã«ããããã³ãŒããåé€ããããã®ãã¯ãããžã«é¢é£ããæè¿ã®åŸåã«ç
§ãããŠããã¹ãã§ã¯ãã®èŠçŽ ãäœããã®åœ¢ã§èæ
®ãããã£ãã®ã§ãã ãã¹ããããé¢æ°ãç¹å®ã®çµæãè¿ãããã«èŠä»¶ãèšå®ããããããç¹å®ã®é¢æ°ãäœããããã«åºã¥ããŠãããã¯ç§ã«ã¯æ±ºããŠèµ·ãããŸããã§ããã ãããã£ãŠãcãªæé©åææ³ã«ã¯ããå¿
èŠãªãã³ãŒããã¹ããŒããçç±ããªãããšãæåŸ
ããŠããŸãã åœç¶ãcãªæé©åã¯ãé¢æ°ã®çµæããã以äžäœ¿çšãããªãããšã«åºã¥ããŠã³ãŒããæšãŠãããšãã§ããŸãã ãã®ããããã¹ãããåé¢æ°ã«è¿œå ã®ãã©ã¡ãŒã¿ãŒãè¿œå ããŸãã-çµæãéèšããããã®é¢æ°ã§ãã éèšçµæèªäœããã¹ãã®çµæã«ãªããŸãã ãµã€ã¯ã«ã®çµæã«å¯ŸããéçŽèªäœã®å¹æãè©äŸ¡ããããã«ãéçŽããã«å床å®è¡ããŸããã ãŸãããããã³ãŒããæé€ããããã®æé©åããããã©ããã䞻芳çã«è©äŸ¡ããã®ã«ã圹ç«ã¡ãŸãã
ãã¹ãã®å®è¡ãšçµæã®åŠçã®å©äŸ¿æ§ã®ããã«ãå°ããªãã¬ãŒã ã¯ãŒã¯ãäœæããŸããã ããã«ãåãšã³ãžã³ã®ãã¹ãçµæãåäžã«åºåããããã«ãç¬èªã®ã¢ããã¿ãŒã¢ãžã¥ãŒã«ã䜿çšãããŸããã çµæã¯htmlã§ãã©ãŒããããããã³ã³ãœãŒã«ã«è¡šç€ºãããã¹ããªãŒã ã®ãªãã€ã¬ã¯ããéããŠåäžã®ãã¡ã€ã«ã«èç©ãããŸããã
ãã¹ãå
šäœãå®è¡ããããã«ãCMDãã¡ã€ã«ã®å°ããªã»ããã䜿çšãããŸããã
ãã¬ã€ã€ãŒ
æåã®ãã¬ãŒã€ãŒã¯ææã§äººæ°ãé«ãŸã£ãŠããGoogle V8ãšã³ãžã³ã§ãããGoogle Chromeã§å®è¡ãããããã»ã©ææã§ã¯ãªã
NodeJSã®åœ¢åŒã§ãã¹ãã§æ瀺ãããŸãã ãã¹ãçµæã¯ç§ã倱æãããªããšç¢ºä¿¡ããŠããŸããã
2çªç®ã®ãã¬ãŒã€ãŒã¯ãè±ããªæŽå²ãæã€ããªãé«éãªãšã³ãžã³ã§ã
ãSpiderMonkeyã¯ãFireFoxã§åäœãã
JSDBã®ä»£ããã«
åäœãããã¹ãã§
åäœããŸãã ããã§ãã¯ã©ã€ã¢ã³ãåŽã®ãã¹ããšã®å€§ããªéããæåŸ
ããŠããŸããã§ããã
3çªç®ã®ãã¬ãŒã€ãŒã¯ãMicrosoftã®JavaScriptã³ã³ãã€ã©ãŒã§ãã ã€ã³ã¿ãŒããªã¿ãŒãšæ¯èŒããŠãã³ã³ãã€ã©ãŒã®äœ¿çšãã©ã®ãããªå©çãããããã®ãçåã«æã£ãŠããŸããã
4çªç®ã®ãã¬ãŒã€ãŒ-ããå®å
šãªæ¯èŒã®ããã«ãMicrosoftã®å¥ã®ã€ã³ã¿ãŒããªã¿ãŒã䜿çšãããšããã§ãããã
ã€ã³ã¿ãŒããªã¿ãŒããã¹ãããå Žåããã¹ãŠã®ãã¹ããã¡ã€ã«ããã¬ãŒã ã¯ãŒã¯ãã¢ããã¿ãŒãã³ããŒã³ãã³ãã§åäžã®ãã¡ã€ã«ã«ããŒãžããçµæã®ãã¡ã€ã«ãã€ã³ã¿ãŒããªã¿ãŒã«æž¡ããŸããã NodeJSã®å Žåã¯nodejs.exeãJSDBã®å Žåã¯jsdb.exeãMicrosoftã®ã€ã³ã¿ãŒããªã¿ãŒã®å Žåã¯cscript.exeãŠãŒãã£ãªãã£ã§è¡šãããWindowsã¹ã¯ãªãããã¹ãã§ãã
ã³ã³ãã€ã©ã®å Žåããã¹ãŠã®ãã¡ã€ã«ã«ã¯ã察å¿ããããŒãžã§ã³ã®.Net Frameworkããjsc.exeãäŸçµŠãããçµæã®exeãã¡ã€ã«ãèµ·åãããŸããã
åãã©ãããã©ãŒã ã§ã®ãã¬ã€ã€ãŒã®åéã¯ç°ãªã£ãŠããŸããã
Windows XP
- NodeJS v 0.2.4
- JSDB 1.8.0.3
- Microsoft JScript 5.6.8825ã€ã³ã¿ãŒããªã¿ãŒ
- Microsoft JScript 5.7.16599
- Microsoft JScript 5.8.18702ã€ã³ã¿ãŒããªã¿ãŒ
- Microsoft .NET v.1.1.4322.2032ã®JScriptã³ã³ãã€ã©ãŒ
- Microsoft .NET v.2.0.50727.3053ã®JScriptã³ã³ãã€ã©
- Microsoft .NET v.4.0.30319.1ã®JScriptã³ã³ãã€ã©
Windows 7
- NodeJS v 0.2.4
- JSDB 1.8.0.3
- Microsoft JScript 5.8.16475ã€ã³ã¿ãŒããªã¿ãŒ
- Microsoft JScript 9.0.16406ã€ã³ã¿ãŒããªã¿ãŒ
- Microsoft .NET v.4.0.30319.1ã®JScriptã³ã³ãã€ã©
ã¯ã ç§ã¯ééã£ãŠããŸããã§ããã Microsoft JScript 9.0.16406ã¯ãIE9ã§äœ¿çšããããŸãã«ãã®ãšã³ãžã³ã§ãã IE9èªäœãã€ã³ã¹ããŒã«ããã«Windows Script Hostã§åäœãããããã«ãå°ã工倫ããå¿
èŠããããŸããã ã€ã³ã¹ããŒã«ããã±ãŒãžã®ã©ã€ãã©ãªã¯ç°ãªãæ¹æ³ã§åŒã³åºããããã®é£ã«IE 8ã®å€ããšã³ãžã³ãéåžžã®ååã§çœ®ãããŠãããããã€ã³ã¹ããŒã«åŸã«WSHã§äœ¿çšã§ãããã©ããããããããŸããã
Windows 7ã§ã¯ã.NET v.2.0ããã³ã³ãã€ã©ã«ã¢ã¯ã»ã¹ã§ããŸããããäœããã®çç±ã§ãã®äžã®ãã¹ãããšã©ãŒã§å€±æããŸããã詳现ã¯åŸã§èª¬æããŸãã
Microsoftã®ããŸããŸãªããŒãžã§ã³ã®ãšã³ãžã³ã䜿çšããŠãããŒãžã§ã³éã§é床ã«é²æ©ããããã©ããããŸãã©ã®ããŒãžã§ã³ã«é²æ©ããããã確èªããŸããã 圌ãã¯ç§ã®è¶³ã®äžã«æšªããããŸããã ãªããããããã¹ãã«å«ããªãã®ã§ããïŒ
ãã¹ã
ããã«ããã¹ãããšã«ããã¹ãããæ©èœãšããã¹ãŠã®ãšã³ãžã³ã®å¹³åãµã€ã¯ã«æéã®çµæã瀺ããŸãã æåŸã«ãã¹ãŠã®ãã¹ãçµæã
空ã®é¢æ°
tests.push({
name: 'Empty test' ,
func: function (){ return 1;},
reduce: function (r,x){ return r+x;},
start: 0,
loops: 1000000
});
* This source code was highlighted with Source Code Highlighter .
ããã§ãfuncã¯ãã¹ãäžã®é¢æ°ãreduceã¯ã¢ã°ãªã²ãŒã¿ãŒé¢æ°ãstartã¯ã¢ã°ãªã²ãŒã¿ãŒã®éå§å€ãloopsã¯ãã¹ãã®ãµã€ã¯ã«æ°ã§ãã
Windows XPã§ã®ç©ºã®ãã¹ãçµæïŒå°ãªãã»ã©è¯ãïŒ
Windows 7ã§ã®ç©ºã®ãã¹ãçµæïŒå°ãªãã»ã©è¯ãïŒ
æååã®é£çµ
å
žåçãªã¹ããªã³ã°æäœã®ãã¹ãã
var str1 = 'Hello ' ,
str2 = 'world ' ,
str3 = 'test ' ,
i = 0;
tests.push({
name: 'String Concat' ,
func: function (){
i++;
return str1+str2+str3+ ' ' +i;
},
reduce: function (r,x){ return r+x.length;},
start: 0,
loops: 100000
});
* This source code was highlighted with Source Code Highlighter .
Windows XPã§ã®æååé£çµã®çµæïŒå°ãªãã»ã©è¯ãïŒ
Windows 7ã§ã®æååé£çµã®çµæïŒå°ãªãæ¹ãè¯ãïŒ
ãã³ãã¬ãŒãã«ããŒã¿ãå
¥åãã
ç§ã®æèŠã§ã¯ãå
žåçãªãµãŒããŒæäœã
var template = '<html><title>{title}</title><body>{main}</body></html>' ;
function ApplyTemplate(template, view){
return template.replace(/{(\w+)}/g, function (p,n){
if (n in view) return view[n];
else return '_ERROR_NO_VALUE_' +n;
});
}
var views = [
{
title: 'Page One' ,
main: 'Lorem ipsum dolor sit amet, mauris libero velit, ' +
'vitae pellentesque aliquam, cursus magnis velit, non ' +
'viverra sed nibh ac fringilla vel, accumsan quis ' +
'elementum fermentum ullamcorper. ' +
/* .... */
'lectus libero at etiam morbi, et orci eros ut sit et.'
},
{
title: 'Page two' ,
main: 'Short page'
}
];
var counter = 0;
tests.push({
name: 'Apply template' ,
func: function (){
counter++;
return ApplyTemplate(template, views[counter%2]);
},
reduce: function (r,x){ return r+x.length;},
start: 0,
loops: 10000
});
* This source code was highlighted with Source Code Highlighter .
ãã³ãã¬ãŒãã®çµæãWindows XPã«é©çšããïŒå°ãªãã»ã©è¯ãïŒ
Windows 7ã§ãã³ãã¬ãŒãã®çµæãé©çšããïŒå°ãªãã»ã©è¯ãïŒ
Google V8 Benchmark SuiteããŒãžã§ã³6ãã次ã®ãã¹ããåã
ãŸãã ã
æ®å¿µãªããããããã®ãã¹ãã«ã¯ãšã©ãŒãããããããããšãå€æããŸããã ãšã©ãŒã¯ãJScriptã³ã³ãã€ã©ã«ãã£ãŠç§ã«ææãããŸããã äžéšã®ãšã©ãŒã¯ãJScriptãšJavaScriptã®äžå®å
šãªäºææ§ã«é¢é£ããŠããŸããã äžéšã¯æ¬åœã«ééãã§ããã åé¡ãæãå°ãªã3ã€ã®ãã¹ããè¡ããŸããã ãã¬ãŒã ã¯ãŒã¯ã«å°ãé©åããããšã©ãŒãä¿®æ£ããŸããã Sunspiderãããã¹ããåããããšãã§ããŸããããæ®å¿µãªããã䟿å©ãªjsãœãŒã¹ã®åœ¢ã§ããããèŠã€ããããšãã§ããŸããã§ããã ãã¹ãã§ãµã€ãã«è¡šç€ºãããããŒãžã§ã³ã¯ãhtmlã«çµã¿èŸŒãŸããŠãããããããŒãµãŒã«ããåŠçãå¿
èŠã§ãã
ããã§ã¯ããããã®ãã¹ãã®ãœãŒã¹ã§ã¯ãªããçµæã®ã¿ãæäŸããŸãã
V8ãã³ãããŒã¯ã¹ã€ãŒããªãã£ãŒãº
ãµã€ãã§è¿°ã¹ãããã«ãOSã«ãŒãã«ã®åäœãã·ãã¥ã¬ãŒãããŸãã
V8 BSã®çµæ-Windows XPäžã®ãªãã£ãŒãºïŒå°ãªãæ¹ãè¯ãïŒ
V8 BSã®çµæ-Windows 7äžã®ãªãã£ãŒãºïŒå°ãªãæ¹ãè¯ãïŒ
V8 Benchmark Suite Encrypt
ããŒã¿ã®ãšã³ã³ãŒãã
V8 BSã®çµæ-Windows XPã§ã®æå·åïŒå°ãªãæ¹ãè¯ãïŒ
V8 BSã®çµæ-Windows 7ã§ã®æå·åïŒå°ãªãæ¹ãè¯ãïŒ
V8 Benchmark Suite Decrypt
ããŒã¿ã®ãã³ãŒãã
V8 BSã®çµæ-Windows XPã§ã®åŸ©å·åïŒå°ãªãã»ã©è¯ãïŒ
V8 BSã®çµæ-Windows 7ã§ã®åŸ©å·åïŒå°ãªãã»ã©è¯ãïŒ
V8ãã³ãããŒã¯ã¹ã€ãŒãRegExp
ã€ã³ã¿ãŒãããäžã®50ã®äººæ°ãµã€ãããæœåºãããæ£èŠè¡šçŸã
V8 BSã®çµæ-Windows XPã§ã®RegExpïŒå°ãªãæ¹ãè¯ãïŒ
V8 BSã®çµæ-Windows 7ã§ã®RegExpïŒå°ãªãæ¹ãè¯ãïŒ
Windows XPã§ã®çµæã®å®å
šãªè¡šã
NodeJS v 0.2.4
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 21 | 0.000021 | 44 | 0.000044 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 44 | 0.00044 | 47 | 0.00047 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 32 | 0.0032 | 28 | 0.0028 | 590000 |
V8 BS-ãªãã£ãŒãº | 1000 | 4879 | 4.879 | 4702 | 4.702 | 0 |
V8 BS-æå·å | 100 | 345 | 3.45 | 356 | 3.56 | 0 |
V8 BS-埩å·å | 100 | 7496 | 74.96 | 7514 | 75.14 | 0 |
V8 BS-æ£èŠè¡šçŸ | 100 | 11620 | 116.2 | 11913 | 119.13 | 0 |
Microsoft .NET v.1.1.4322.2032
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 1891 | 0.001891 | 4094 | 0.004094 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 344 | 0.00344 | 859 | 0.00859 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 532 | 0.0532 | 609 | 0.0609 | 590000 |
V8 BS-ãªãã£ãŒãº | 25 | 9266 | 370.64 | 9390 | 375.6 | 0 |
V8 BS-æå·å | 10 | 2875 | 287.5 | 3062 | 306.2 | 0 |
V8 BS-埩å·å | 5 | 33657 | 6731.4 | 32078 | 6415.6 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 32296 | 3229.6 | 33219 | 3321.9 | 0 |
Microsoft .NET v.2.0.50727.3053
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 3328 | 0.003328 | 8578 | 0.008578 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 515 | 0.00515 | 1297 | 0.01297 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 547 | 0.0547 | 657 | 0.0657 | 590000 |
V8 BS-ãªãã£ãŒãº | 25 | 9703 | 388.12 | 9859 | 394.36 | 0 |
V8 BS-æå·å | 10 | 2531 | 253.1 | 2875 | 287.5 | 0 |
V8 BS-埩å·å | 5 | 25344 | 5068.8 | 25047 | 5009.4 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 29032 | 2903.2 | 29234 | 2923.4 | 0 |
Microsoft .NET v.4.0.30319.1
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 2188 | 0.002188 | 5282 | 0.005282 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 437 | 0.00437 | 1125 | 0.01125 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 500 | 0.05 | 610 | 0.061 | 590000 |
V8 BS-ãªãã£ãŒãº | 25 | 9812 | 392.48 | 10031 | 401.24 | 0 |
V8 BS-æå·å | 10 | 2719 | 271.9 | 3469 | 346.9 | 0 |
V8 BS-埩å·å | 5 | 28140 | 5628 | 28297 | 5659.4 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 34437 | 3443.7 | 33016 | 3301.6 | 0 |
JSDB 1.8.0.3
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 343 | 0.000343 | 719 | 0.000719 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 703 | 0.00703 | 547 | 0.00547 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 383 | 0.0383 | 233 | 0.0233 | 590000 |
V8 BS-ãªãã£ãŒãº | 1000 | 48319 | 48.319 | 49948 | 49.948 | 0 |
V8 BS-æå·å | 10 | 905 | 90.5 | 925 | 92.5 | 0 |
V8 BS-埩å·å | 10 | 16571 | 1657.1 | 16475 | 1647.5 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 15968 | 1596.8 | 13636 | 1363.6 | 0 |
Microsoft JScript 5.6.8825
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 2578 | 0.002578 | 5812 | 0.005812 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 4531 | 0.04531 | 4844 | 0.04844 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 1344 | 0.1344 | 1375 | 0.1375 | 410000 |
V8 BS-ãªãã£ãŒãº | 100 | 18484 | 184.84 | 18422 | 184.22 | 0 |
V8 BS-æå·å | 10 | 1813 | 181.3 | 1797 | 179.7 | 0 |
V8 BS-埩å·å | 10 | 32500 | 3250 | 32187 | 3218.7 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 37938 | 3793.8 | 37547 | 3754.7 | 0 |
Microsoft JScript 5.7.16599
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 4235 | 0.004235 | 6562 | 0.006562 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 1625 | 0.01625 | 1969 | 0.01969 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 562 | 0.0562 | 594 | 0.0594 | 410000 |
V8 BS-ãªãã£ãŒãº | 100 | 22328 | 223.28 | 22625 | 226.25 | 0 |
V8 BS-æå·å | 10 | 1797 | 179.7 | 1813 | 181.3 | 0 |
V8 BS-埩å·å | 10 | 33953 | 3395.3 | 32219 | 3221.9 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 27813 | 2781.3 | 29609 | 2960.9 | 0 |
Microsoft JScript 5.8.18702
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 1171 | 0.001171 | 1532 | 0.001532 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 844 | 0.00844 | 1235 | 0.01235 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 359 | 0.0359 | 359 | 0.0359 | 410000 |
V8 BS-ãªãã£ãŒãº | 100 | 11906 | 119.06 | 12094 | 120.94 | 0 |
V8 BS-æå·å | 10 | 1610 | 161 | 1578 | 157.8 | 0 |
V8 BS-埩å·å | 10 | 26875 | 2687.5 | 27281 | 2728.1 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 22781 | 2278.1 | 22391 | 2239.1 | 0 |
Windows 7ã§ã®çµæã®å®å
šãªè¡šã
NodeJS v 0.2.4
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 12 | 0.000012 | 14 | 0.000014 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 17 | 0.00017 | 13 | 0.00013 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 9 | 0.0009 | 11 | 0.0011 | 590000 |
V8 BS-ãªãã£ãŒãº | 1000 | 1640 | 1.64 | 1749 | 1.749 | 0 |
V8 BS-æå·å | 100 | 120 | 1.2 | 128 | 1.28 | 0 |
V8 BS-埩å·å | 100 | 2570 | 25.7 | 2573 | 25.73 | 0 |
V8 BS-æ£èŠè¡šçŸ | 100 | 3996 | 39.96 | 3996 | 39.96 | 0 |
JSDB 1.8.0.3
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 89 | 0.000089 | 221 | 0.000221 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 177 | 0.00177 | 167 | 0.00167 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 33 | 0.0033 | 33 | 0.0033 | 590000 |
V8 BS-ãªãã£ãŒãº | 1000 | 17738 | 17.738 | 17780 | 17.78 | 0 |
V8 BS-æå·å | 10 | 272 | 27.2 | 276 | 27.6 | 0 |
V8 BS-埩å·å | 10 | 5095 | 509.5 | 5103 | 510.3 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 3454 | 345.4 | 3499 | 349.9 | 0 |
Microsoft .NET v.4.0.30319.1
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 574 | 0.000574 | 1344 | 0.001344 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 149 | 0.00149 | 334 | 0.00334 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 140 | 0.014 | 281 | 0.0281 | 590000 |
V8 BS-ãªãã£ãŒãº | 25 | 2268 | 90.72 | 2576 | 103.04 | 0 |
V8 BS-æå·å | 10 | 471 | 47.1 | 2813 | 281.3 | 0 |
V8 BS-埩å·å | 5 | 4908 | 981.6 | 5018 | 1003.6 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 8762 | 876.2 | 8805 | 880.5 | 0 |
Microsoft .NET v.4.0.30319.1
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 516 | 0.000516 | 1293 | 0.001293 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 118 | 0.00118 | 273 | 0.00273 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 136 | 0.0136 | 301 | 0.0301 | 590000 |
V8 BS-ãªãã£ãŒãº | 25 | 2188 | 87.52 | 2477 | 99.08 | 0 |
V8 BS-æå·å | 10 | 470 | 47 | 3000 | 300 | 0 |
V8 BS-埩å·å | 5 | 4831 | 966.2 | 5049 | 1009.8 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 8704 | 870.4 | 8826 | 882.6 | 0 |
Microsoft JScript 5.8.16475
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 244 | 0.000244 | 502 | 0.000502 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 168 | 0.00168 | 224 | 0.00224 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 90 | 0.009 | 95 | 0.0095 | 410000 |
V8 BS-ãªãã£ãŒãº | 100 | 4391 | 43.91 | 4400 | 44 | 0 |
V8 BS-æå·å | 10 | 611 | 61.1 | 619 | 61.9 | 0 |
V8 BS-埩å·å | 10 | 10502 | 1050.2 | 10512 | 1051.2 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 4768 | 476.8 | 4772 | 477.2 | 0 |
Microsoft JScript 9.0.16406
ãåå | ã«ãŒã | æé | å¹³å | æé | å¹³åwr | 解å床 |
---|
空ã®ãã¹ã | 1,000,000 | 41 | 0.000041 | 82 | 0.000082 | 1,000,000 |
ã¹ããªã³ã°é£çµ | 100,000 | 38 | 0.00038 | 39 | 0.00039 | 2288895 |
ãã³ãã¬ãŒããé©çš | 10,000 | 18 | 0.0018 | 17 | 0.0017 | 590000 |
V8 BS-ãªãã£ãŒãº | 100 | 166 | 1.66 | 166 | 1.66 | 0 |
V8 BS-æå·å | 10 | 15 | 1.5 | 37 | 3.7 | 0 |
V8 BS-埩å·å | 10 | 253 | 25.3 | 246 | 24.6 | 0 |
V8 BS-æ£èŠè¡šçŸ | 10 | 3175 | 317.5 | 3188 | 318.8 | 0 |
çµè«
.NETã³ã³ãã€ã©ãŒïŒããæ£ç¢ºã«ã¯ããã®äœæ¥ã®çµæïŒãæãé
ãããšãå€æããŸããã ç§ãäœãééã£ãããšãããŠããã®ãã圌ã¯ãã ãã¡ã§ãã 9ããŒãžã§ã³æªæºã®MicrosoftããŒãžã§ã³ã®éèš³è
ã¯ããã³ãã¬ãŒãã®äœ¿çšã«é¢ãããã¹ãã«å€±æããŸãããçµæã¯ä»ãšã¯ç°ãªããŸãã 綿å¯ãªèª¿æ»ã«ããã眮æã®ããã®ã³ãŒã«ããã¯é¢æ°ãžã®ãã©ã¡ãŒã¿ãŒã®å²ãåœãŠãç°ãªãããšã瀺ãããŸããã
Windows 7ã§ã¯ã.NET Framework 2.0ããã³ã³ãã€ã©ãŒã®ããŒãžã§ã³ããã¹ãããããšã¯ã§ããŸããã§ãããããŒãžã§ã³4.0ã®åäœãåæ§ã§ãã ãã¹ãã¯20åéæ©èœããŸããã ããŒãžã§ã³2.0ã¯ãšã©ãŒã§ã¯ã©ãã·ã¥ããŸããã äž¡æ¹ã®ããŒãžã§ã³ã§ããã¹ãã¯æ倧6 GBã®ã¡ã¢ãªãæ¶è²»ããŸããã ãªããã¹ãèªäœããã®ãããªç Žæ»
çãªæéã瀺ããªãã£ãã®ã§ããïŒ åé¡ã詳ãã調ã¹ããšãããWindows 7 x64åãã³ã³ãã€ã©ã®å¥åŠãªæ©èœãæããã«ãªããŸãããV8BS-Regexpãã¹ããåé¡ãåŒãèµ·ãããŸããã ããã«ãã³ã³ãã€ã«ãããããã°ã©ã ã¯ãã³ãŒãã®å®è¡ãå§ãŸãåããã¡ã¢ãªã䜿ãæãããŠããŸããã .Netã¯ãã³ãŒããå®è¡ãããåã§ãã£ãŠãããã®ãã¹ãã§è±å¯ã«ããæ£èŠè¡šçŸãäœããã®æ¹æ³ã§åæåããããã§ãã ããã«ãã¯ããŒãžã£ãŒãäœæããé¢æ°ã«æ£èŠè¡šçŸãå«ãŸããŠããå Žåãåé¡ãçºçããŸãã
ç§ã®æçµçãªçµè«ã¯æ¬¡ã®ãšããã§ãã.NETFrameworkã®JScriptã³ã³ãã€ã©ã¯ãã³ã³ãã€ã«ãšã©ãŒã®ã³ãŒãããã¹ããã以å€ã«äœã®åœ¹ã«ãç«ã¡ãŸããã ãŸãããã®ãããªã¿ã¹ã¯ã§CïŒãã©ã®ããã«ç°ãªããããã¹ãããããšãèå³æ·±ããã®ã«ãªããŸããã ãã ãããšã©ãŒã¡ãã»ãŒãžã衚瀺ãããšãã«ã¹ã¿ãã¯ãã¬ãŒã¹ãèŠããšãJScript .NETã®ãé«éãé害ãããæ確ã«ãªãå§ããŸãã åçŽãªåŒã³åºãã®ã©ãããŒã¯ããŸãèŠãŠããŸããã
ãã ããMicrosoft JScript 9.0ã®æ°ããã€ã³ã¿ãŒããªã¿ãŒã¯éåžžã«ç«¶äºåããããActiveScriptingãä»ããŠãã®ã¯ã©ã¹ãç°¡åã«æ¡åŒµã§ããŸãã èå³æ·±ãã®ã¯ããŒãžã§ã³ã®éžæã§ãã IE8ã§äœ¿çšãããŠããããŒãžã§ã³5.8ã®åŸãããŒãžã§ã³9.0ãçªç¶ç»å Žããã®ã¯ãªãã§ããïŒ ãã ããå
¬åŒãªãªãŒã¹åŸããã¹ãŠãå€æŽãããå ŽåããããŸãã
NodeJSã§ã®Google V8ã®çãã®ãªãŒããŒã§ãããJScript 9.0ã¯ããã«ç»å ŽããŸãã æçµçãªéžæã¯ãé床ã®åºæºã ãã§ãªããèŠå ã®åèšã«ãã£ãŠãå®å
šã«è¡ããããã«æããŸãã æ¡åŒµããããã°ããã©ãããã©ãŒã ãšã®çµ±åã®å©äŸ¿æ§ãå«ã¿ãŸãã
ãããŠæåŸã«-æå³ã®ãªããçŽç²ã«äŸç€ºçãªå³ã NodeJSã®æéãšåãã¹ãã®æéã®æ¯çããšãããã¹ãå
šäœã§å¹³åããŸããã
è©äŸ¡ãšã³ãžã³ïŒè©³çŽ°-ããè¯ãïŒ
åç
§ïŒ
NodeJS
Jsdb
Google V8 Benchmark SuiteããŒãžã§ã³6
Microsoft Windowsã¹ã¯ãªãããã¹ã
Microsoft jscript