📄 paper.ps
字号:
7 S1 f
()3381 1266 w
3381 1266 m
27 build_ob
3408 1266 m
7 R f
(.)3060 1343 w
(.)3096 1332 w
(.)3132 1322 w
(.)3168 1311 w
(.)3204 1301 w
(.)3240 1291 w
(.)3276 1280 w
(.)3312 1270 w
(.)3348 1259 w
(.)3384 1249 w
7 S1 f
()3707 1161 w
3707 1161 m
27 build_ob
3734 1161 m
7 R f
(.)3384 1249 w
(.)3420 1237 w
(.)3456 1226 w
(.)3493 1214 w
(.)3529 1203 w
(.)3565 1191 w
(.)3601 1179 w
(.)3637 1167 w
(.)3673 1156 w
(.)3710 1144 w
8 R f
(Scheme)3760 1161 w
10 R f
5160 2466 4080 2466 Dl
4080 1026 4080 2466 Dl
(Windows 95)1 508 1 4366 961 t
10 CW f
(n)4329 2786 w
10 R f
(\(in millions\))1 498 1 4414 2786 t
4184 2502 4184 2466 Dl
(0.125)4072 2612 w
4510 2502 4510 2466 Dl
(0.25)4423 2612 w
4834 2502 4834 2466 Dl
(0.5)4772 2612 w
5160 2502 5160 2466 Dl
(1)5135 2612 w
4044 2131 4080 2131 Dl
4044 1796 4080 1796 Dl
4044 1461 4080 1461 Dl
4044 1126 4080 1126 Dl
7 S1 f
()4171 2030 w
4171 2030 m
27 build_ob
4198 2030 m
()4497 2030 w
4497 2030 m
27 build_ob
4524 2030 m
7 R f
( .)1 37( . . . . .)5 180( .)1 37(. . .)2 90 4 4174 2013 t
7 S1 f
()4821 2030 w
4821 2030 m
27 build_ob
4848 2030 m
7 R f
(. . . . . . . . . .)9 342 1 4500 2013 t
7 S1 f
()5147 2030 w
5147 2030 m
27 build_ob
5174 2030 m
7 R f
( .)1 37( . . . . .)5 180( .)1 37(. . .)2 90 4 4824 2013 t
8 R f
(C)5200 2030 w
7 S1 f
()4171 1819 w
4171 1819 m
27 build_ob
4198 1819 m
()4497 1722 w
4497 1722 m
27 build_ob
4524 1722 m
7 R f
(.)4174 1802 w
(.)4210 1791 w
(.)4246 1780 w
(.)4283 1770 w
(.)4319 1759 w
(.)4355 1749 w
(.)4391 1738 w
(.)4427 1727 w
(.)4463 1716 w
(.)4500 1705 w
7 S1 f
()4821 1629 w
4821 1629 m
27 build_ob
4848 1629 m
7 R f
(.)4500 1705 w
(.)4536 1695 w
(.)4572 1685 w
(.)4608 1674 w
(.)4644 1664 w
(.)4680 1654 w
(.)4716 1643 w
(.)4752 1633 w
(.)4788 1623 w
(.)4824 1612 w
7 S1 f
()5147 1529 w
5147 1529 m
27 build_ob
5174 1529 m
7 R f
(.)4824 1612 w
(.)4860 1602 w
(.)4896 1590 w
(.)4933 1579 w
(.)4969 1568 w
(.)5005 1557 w
(.)5041 1545 w
(.)5077 1534 w
(.)5113 1523 w
(.)5150 1512 w
8 R f
(Awk)5200 1529 w
7 S1 f
()4171 1852 w
4171 1852 m
27 build_ob
4198 1852 m
()4497 1767 w
4497 1767 m
27 build_ob
4524 1767 m
7 R f
(.)4174 1835 w
(.)4210 1826 w
(.)4246 1816 w
(.)4283 1807 w
(.)4319 1797 w
(.)4355 1788 w
(.)4391 1778 w
(.)4427 1769 w
(.)4463 1759 w
(.)4500 1750 w
7 S1 f
()4821 1677 w
4821 1677 m
27 build_ob
4848 1677 m
7 R f
(.)4500 1750 w
(.)4536 1740 w
(.)4572 1730 w
(.)4608 1720 w
(.)4644 1710 w
(.)4680 1700 w
(.)4716 1690 w
(.)4752 1680 w
(.)4788 1670 w
(.)4824 1660 w
7 S1 f
()5147 1579 w
5147 1579 m
27 build_ob
5174 1579 m
7 R f
(.)4824 1660 w
(.)4860 1649 w
(.)4896 1638 w
(.)4933 1628 w
(.)4969 1617 w
(.)5005 1605 w
(.)5041 1594 w
(.)5077 1584 w
(.)5113 1573 w
(.)5150 1562 w
8 R f
(Perl)5200 1579 w
7 S1 f
()4171 1395 w
4171 1395 m
27 build_ob
4198 1395 m
()4497 1291 w
4497 1291 m
27 build_ob
4524 1291 m
7 R f
(.)4174 1378 w
(.)4210 1367 w
(.)4246 1355 w
(.)4283 1344 w
(.)4319 1332 w
(.)4355 1320 w
(.)4391 1309 w
(.)4427 1297 w
(.)4463 1286 w
(.)4500 1274 w
7 S1 f
()4821 1188 w
4821 1188 m
27 build_ob
4848 1188 m
7 R f
(.)4500 1274 w
(.)4536 1263 w
(.)4572 1251 w
(.)4608 1239 w
(.)4644 1228 w
(.)4680 1216 w
(.)4716 1206 w
(.)4752 1194 w
(.)4788 1183 w
(.)4824 1171 w
7 S1 f
()5147 1087 w
5147 1087 m
27 build_ob
5174 1087 m
7 R f
(.)4824 1171 w
(.)4860 1160 w
(.)4896 1149 w
(.)4933 1137 w
(.)4969 1126 w
(.)5005 1115 w
(.)5041 1104 w
(.)5077 1093 w
(.)5113 1082 w
(.)5150 1070 w
8 R f
(Tcl)5200 1087 w
7 S1 f
()4171 2252 w
4171 2252 m
27 build_ob
4198 2252 m
()4497 2137 w
4497 2137 m
27 build_ob
4524 2137 m
7 R f
(.)4174 2235 w
(.)4207 2223 w
(.)4239 2211 w
(.)4271 2200 w
(.)4304 2188 w
(.)4337 2177 w
(.)4369 2165 w
(.)4402 2155 w
(.)4434 2143 w
(.)4466 2132 w
(.)4500 2120 w
7 S1 f
()4821 2036 w
4821 2036 m
27 build_ob
4848 2036 m
7 R f
(.)4500 2120 w
(.)4536 2109 w
(.)4572 2098 w
(.)4608 2086 w
(.)4644 2075 w
(.)4680 2064 w
(.)4716 2052 w
(.)4752 2042 w
(.)4788 2030 w
(.)4824 2019 w
7 S1 f
()5147 1935 w
5147 1935 m
27 build_ob
5174 1935 m
7 R f
(.)4824 2019 w
(.)4860 2008 w
(.)4896 1997 w
(.)4933 1985 w
(.)4969 1975 w
(.)5005 1963 w
(.)5041 1952 w
(.)5077 1941 w
(.)5113 1929 w
(.)5150 1918 w
8 R f
(Java)5200 1935 w
7 S1 f
()4171 2074 w
4171 2074 m
27 build_ob
4198 2074 m
()4497 1977 w
4497 1977 m
27 build_ob
4524 1977 m
7 R f
(.)4174 2057 w
(.)4210 2046 w
(.)4246 2035 w
(.)4283 2024 w
(.)4319 2013 w
(.)4355 2003 w
(.)4391 1993 w
(.)4427 1982 w
(.)4463 1971 w
(.)4500 1960 w
7 S1 f
()4821 1890 w
4821 1890 m
27 build_ob
4848 1890 m
7 R f
(.)4500 1960 w
(.)4536 1950 w
(.)4572 1941 w
(.)4608 1931 w
(.)4644 1921 w
(.)4680 1912 w
(.)4716 1902 w
(.)4752 1893 w
(.)4788 1883 w
(.)4824 1873 w
7 S1 f
()5147 1778 w
5147 1778 m
27 build_ob
5174 1778 m
7 R f
(.)4824 1873 w
(.)4857 1862 w
(.)4889 1851 w
(.)4922 1839 w
(.)4955 1828 w
(.)4987 1817 w
(.)5019 1805 w
(.)5052 1795 w
(.)5084 1783 w
(.)5117 1772 w
(.)5150 1761 w
8 R f
(VB)5200 1778 w
7 S1 f
()4171 1977 w
4171 1977 m
27 build_ob
4198 1977 m
()4497 1876 w
4497 1876 m
27 build_ob
4524 1876 m
7 R f
(.)4174 1960 w
(.)4210 1949 w
(.)4246 1938 w
(.)4283 1926 w
(.)4319 1916 w
(.)4355 1904 w
(.)4391 1893 w
(.)4427 1882 w
(.)4463 1870 w
(.)4500 1859 w
7 S1 f
()4821 1778 w
4821 1778 m
27 build_ob
4848 1778 m
7 R f
(.)4500 1859 w
(.)4536 1849 w
(.)4572 1837 w
(.)4608 1826 w
(.)4644 1815 w
(.)4680 1805 w
(.)4716 1794 w
(.)4752 1782 w
(.)4788 1772 w
(.)4824 1761 w
7 S1 f
()5147 1683 w
5147 1683 m
27 build_ob
5174 1683 m
7 R f
(.)4824 1761 w
(.)4860 1750 w
(.)4896 1740 w
(.)4933 1729 w
(.)4969 1718 w
(.)5005 1708 w
(.)5041 1697 w
(.)5077 1687 w
(.)5113 1677 w
(.)5150 1666 w
8 R f
(Limbo)5200 1683 w
7 S1 f
()4171 1555 w
4171 1555 m
27 build_ob
4198 1555 m
()4497 1467 w
4497 1467 m
27 build_ob
4524 1467 m
7 R f
(.)4174 1538 w
(.)4210 1529 w
(.)4246 1519 w
(.)4283 1509 w
(.)4319 1499 w
(.)4355 1489 w
(.)4391 1480 w
(.)4427 1470 w
(.)4463 1460 w
(.)4500 1450 w
7 S1 f
()4821 1367 w
4821 1367 m
27 build_ob
4848 1367 m
7 R f
(.)4500 1450 w
(.)4536 1439 w
(.)4572 1428 w
(.)4608 1417 w
(.)4644 1406 w
(.)4680 1394 w
(.)4716 1383 w
(.)4752 1372 w
(.)4788 1360 w
(.)4824 1350 w
7 S1 f
()5147 1262 w
5147 1262 m
27 build_ob
5174 1262 m
7 R f
(.)4824 1350 w
(.)4860 1338 w
(.)4896 1327 w
(.)4933 1315 w
(.)4969 1304 w
(.)5005 1291 w
(.)5041 1280 w
(.)5077 1268 w
(.)5113 1257 w
(.)5150 1245 w
8 R f
(Scheme)5200 1262 w
10 B f
(Basic loop test)2 611 1 2574 3024 t
10 R f
( amount)1 332( The)1 212( in this paper.)3 565(This graph exhibits several features that are common to all of the graphs)12 2961 4 970 3240 t
( axes)1 208( Both)1 251( appears on the vertical axis.)5 1166(of computational work appears on the horizontal axis and runtime)9 2695 4 720 3360 t
( would be con-)3 602( It)1 113( scale, which allows us to display a wide range of data values.)12 2497(are plotted on a logarithmic)4 1108 4 720 3480 t
( around 10 seconds, but this ideal cannot)7 1633(venient to choose input sizes that give reasonable runtimes, ideally)9 2687 2 720 3600 t
(be achieved when runtimes for different languages are four orders of magnitude apart.)12 3437 1 720 3720 t
( grow linearly with the size of the problem:)8 2171(We designed tests whose runtime should)5 1899 2 970 3876 t
10 I f
(runtime)720 3996 w
10 S f
(=)1080 3996 w
10 I f
(m)1184 3996 w
10 S f
(\264)1264 3996 w
10 I f
(size)1327 3996 w
10 S f
(+)1526 3996 w
10 I f
(b)1630 3996 w
10 R f
( if we choose)3 544(. Thus,)1 306 2 1680 3996 t
10 I f
(size)2560 3996 w
10 R f
(to be large enough to justify ignoring the fixed overhead)9 2300 1 2740 3996 t
(\()720 4116 w
10 I f
(b)753 4116 w
10 R f
( indicate anomalous behavior that)4 1360( Exceptions)1 497(\), the log-log plot should show a straight line of unit slope.)11 2380 3 803 4116 t
(deserves further attention.)2 1039 1 720 4236 t
( fact,)1 205( In)1 139( 95 the line connecting C runtimes appears absolutely horizontal.)9 2651(For example, on Windows)3 1075 4 970 4392 t
(runtime continues to be constant when)5 1590 1 720 4512 t
10 CW f
(n)2345 4512 w
10 R f
(= 10)1 190 1 2440 4512 t
7 R f
(7)2635 4472 w
10 R f
(and)2712 4512 w
10 CW f
(n)2890 4512 w
10 R f
(= 10)1 190 1 2984 4512 t
7 R f
(8)3179 4472 w
10 R f
( happens because the optimizer elimi-)5 1556(. This)1 262 2 3222 4512 t
(nates the entire loop, replacing it by)6 1512 1 720 4632 t
10 CW f
(sum = n)2 446 1 2270 4632 t
10 R f
( 95)1 139( optimization is disabled, times on Windows)6 1859(. When)1 326 3 2716 4632 t
(grow)720 4752 w
10 I f
(very)950 4752 w
10 R f
(slowly with)1 470 1 1146 4752 t
10 CW f
(n)1641 4752 w
10 R f
(, from 0.25 seconds at)4 882 1 1701 4752 t
10 CW f
(n)2608 4752 w
10 R f
(= 125,000 to 0.33 seconds at)5 1147 1 2693 4752 t
10 CW f
(n)3865 4752 w
10 R f
(= 10)1 181 1 3950 4752 t
7 R f
(6)4136 4712 w
10 R f
(.)4179 4752 w
(The graph for Windows 95 also shows clearly the advantage that Java and Visual Basic enjoy)15 4070 1 970 4908 t
(because our timings do not charge them for startup.)8 2055 1 720 5028 t
( \(C\) runs fastest;)3 699( native code)2 504( Compiled)1 456(The pattern in these graphs reappears in many test results.)9 2411 4 970 5184 t
( Basic\); next come interpreters that construct)6 1857(next fastest are interpreted byte codes \(Java, Limbo, Visual)8 2463 2 720 5304 t
( like an abstract syntax tree \(Awk, Perl\); slowest of all are interpreters)12 2808(and execute an internal representation)4 1512 2 720 5424 t
( each consecutive pair of stages there is a)8 1693( Between)1 405( \(Scheme, Tcl\).)2 627(that repeatedly scan the original source)5 1595 4 720 5544 t
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -