[jdom-interest] New benchmark

Elliotte Rusty Harold elharo at metalab.unc.edu
Tue Jul 2 12:17:28 PDT 2002


>http://xmlhack.com/read.php?item=1706
>
>Interesting reading.  JDOM's looking pretty good (and that's
>particularly impressive since b8 had the StringBuffer performance bug).
>
>But look at the last chart.  There's clearly some bug there we need to
>track down!
>

I'm not so sure. I don't trust his technique for measuring memory 
usage at all. I've done things like that in the past, and on further 
digging I've always found that semantically insignificant changes can 
produce wild, several hundred percent swings in memory usage, 
sometimes even sending the memory negative. Unfortuantely I don't 
have any better way to measure memory, but I really don't trust 
numbers based on System.freeMemory().
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list