System: Win95 Dell GxPro 200 MHz 64 Mb RAM
JVM : jview.exe 5.00.3309 java.exe 1.3.0-C
File : 2.1 Mb text file
Code Description | bytecode | jview.exe (sec) | java.exe (sec) |
---|---|---|---|
Read into byte-buffer & convert to string | ReadIntoStr4.class | 0.6 | 1.1 |
Read into byte-buffer & ByteArrayOutputStream | ReadIntoStr2.class | 1.0 | 1.7 |
BufferedReader line at a time | ReadIntoStr3.class | 1.7 | 2.1 |
Read single byte at a time | ReadIntoStr1.class | 62 | 77 |