From: Benoit Cerrina Date: 2001-05-28T17:40:06+09:00 Subject: [ruby-talk:15842] Re: java based interpreter and regexes > > Java is performing 28 GCs while running the benchmark (spending some > 60 ms in GC), reducing the heap each time by 500 KB. This means, if I > understand the statistics, the benchmark is generating and throwing > away objects worth of 14 MB. I'd guess that's some 300.000 objects. > > So don't assume there're no objects involved :-) > How did you get those results, I used both -Xloggc:log.gc and later -verbose:gc to no avail. Benoit PS attached you'll find the test I used , this is just the original java bench adapted too the new regex package. begin 666 regtest.java M:6UP;W)T(&IA=F$N=71I;"YR96=E>"XJ.PH*<'5B;&EC(&-L87-S(')E9W1E MPH)<')I=F%T92!S=&%T:6,@9FEN86P@4W1R:6YG6UT@7W)E(#T@>PH) M"2)>*"A;7CI=*RDZ+R\I/RA;7CHO72LI*#HH6S M.5TK*2D_*"\N*BDB+ DO M+R!54DP@;6%T8V@*"0DB=7-D(%LK+5T_6S M.5TK+ELP+3E=6S M.5TB+ D) M"0D)"2\O($-A;F]N:6-A;"!54R!D;VQL87(@86UO=6YT"@D)(EQ<8BA<7'"YC;VTO(BP*"0DB:'1T<#HO+W=W=RYT:&5L:6YU M>'-H;WPH)"71R>2!["@D) M"6QO;F<@7-T96TN8W5R'!R M+FUA=&-H97(H(B(I.PH)"0D)9F]R("AI;G0@:71T97(],#L@:71T97(\,3 P M,# P.R!I='1E