<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div><br>Faster on second try, but still very slow compared to the pharo run.<br><br><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div>ping: twenty-five million, four hundred thousand elements.  Time: 0:05:10:48.25753825715344<br></div></blockquote><br>five hours for 25mil vs 2.5 hours for 300+ mil.<br><br><br>Some things that are different in my squeak 6.0alpha image are:<br><br>1. it has 3 projects.<br>2. A Seaside Webserver was active listening for connection.<br><br><br>I am going to download a 5.3 vm and image and see what happens.<br><br><br><br><br><br><br><br><br><br><br>-----------------------------------------------------------------------------------<br><br><div style="font-family :  Verdana,  Arial,  Helvetica,  sans-serif; font-size :  10pt;"><div>The thing is much slower on the first iteration on Squeak and it died on an invalid UTF8 character.<br><br><blockquote style="border :  1px solid rgb(204, 204, 204); padding :  7px; background-color :  rgb(245, 245, 245);"><div>ping: one hundred five million, four hundred thousand elements.  Time: -0:11:18:22.899429<br></div><div>30097768<br></div></blockquote>vs the three hundred thirty two million in the second pharo run.<br><br><br>VM stats after this run died with that UTF8 (and an image save) are:<br><br></div><div><br></div><blockquote style="border :  1px solid rgb(204, 204, 204); padding :  7px; background-color :  rgb(245, 245, 245);"><div><div><div><br></div><div>uptime           14h 8m 47s      (runtime 12h 56m 50s, idletime 1h 11m 56s)<br></div></div><div>memory           166,723,584 bytes<br></div><div>old                   157,771,552 bytes (94.6%)<br></div><div>young         7,190,528 bytes (4.3%)<br></div><div>used             132,113,272 bytes (79.2%)<br></div><div>free          27,185,008 bytes (16.3%)<br></div><div>GCs                    141,172 (360.7 ms between GCs 330.2 ms runtime between GCs)<br></div><div>full                253 totalling 21,613 ms (0.05% runtime), avg 85.4 ms<br></div><div>marking            12,389 ms (57.3%) avg 49 ms,<br></div><div>compacting 9,224 ms (42.7%) avg 36.5 ms<br></div><div>scavenges  140,919 totalling 28,179 ms (0.06% runtime), avg 0.2 ms<br></div><div>tenures         150,988 (avg 1 tenures per scavenge)<br></div><div>Code compactions<br></div><div>119 totalling 91 ms (0% runtime), avg 0.8 ms<br></div><div>Since last view      140,880 (355 ms between GCs, 330 ms runtime between GCs)<br></div><div>uptime                         50106.3 s, runtime 46493.8 s, idletime 3612.4 s<br></div><div>full                                    246 totalling 21,042 ms (0% runtime), avg 85.5 ms<br></div><div>scavenge                              140,634 totalling 28,082 ms (0.1% runtime), avg 0.2 ms<br></div><div>tenures                          52,604 (avg 0 tenures per scavenge)<br></div><div>code compactions    84 totalling 57 ms (0% runtime), avg 0.7 ms<br></div><div><br></div></div></blockquote><div><br>This is on:</div><div><br></div><blockquote style="border :  1px solid rgb(204, 204, 204); padding :  7px; background-color :  rgb(245, 245, 245);"><div><div>Image<br></div><div>-----<br></div><div>/home/wm/usr/src/smalltalk/XML/shared/Squeak6.0alpha-20582-64bit.image<br></div><div>Squeak6.0alpha<br></div><div>latest update: #20653<br></div><div>Current Change Set: SAXParser<br></div><div>Image format 68021 (64 bit)<br></div><div>Preferred bytecode set: SistaV1<br></div><div><br></div><div>Virtual Machine<br></div><div>---------------<br></div><div>/usr/local/lib/squeak/5.0-202110010850-64bit/squeak<br></div><div>Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3077]<br></div><div>Unix built on Oct  1 2021 13:12:54 Compiler: 4.2.1 Compatible Clang 3.8.0 (tags/RELEASE_380/final)<br></div><div>platform sources revision VM: 202110010850 wm@tinker:usr/src/smalltalk/tmp/oscogvm Date: Fri Oct 1 10:50:05 2021 CommitHash: 7ede113ff Plugins: 202110010850 wm@tinker:usr/src/smalltalk/tmp/oscogvm<br></div><div>CoInterpreter VMMaker.oscog-eem.3077 uuid: 8ad52133-62f2-4e1e-bf92-9b29ba104d62 Oct  1 2021<br></div><div>StackToRegisterMappingCogit VMMaker.oscog-eem.3077 uuid: 8ad52133-62f2-4e1e-bf92-9b29ba104d62 Oct  1 2021<br></div><div><br></div></div></blockquote><div><br>I closed the image and re-opened it and it was lightning fast. the pharo took severl seconds...over 5 to save and close. opening is similarly slow.<br><br>I am on take two of the parse to see if it speeds up like the pharo second test run did.\<br><br>cordially<br><br>t<br><br>----------------------------------------------<br><div style="font-family  :  Verdana,   Arial,   Helvetica,   sans-serif; font-size  :  10pt;"><div>oops, accidently hit send somehow.<br></div><div><br></div><div><br></div><div>I can inspect the SAXHandler  now...<br></div><div><br></div><div><blockquote style="border  :  1px solid rgb(204, 204, 204); padding  :  7px; background-color  :  rgb(245, 245, 245);"><div>(DocDemoSaxHandler on:('/home/wm/Downloads/bookstore.xml' asFileReference))  optimizeForLargeDocuments<br></div></blockquote>gives me an inspector.<br><br>Before I kick this off on Squeak...here is the memory stuff from top menu->Extras->VM statistics<br><br><blockquote style="border  :  1px solid rgb(204, 204, 204); padding  :  7px; background-color  :  rgb(245, 245, 245);"><div>uptime            13m 40s (runtime 1m 56s, idletime 11m 43s)<br></div><div>memory               183,500,800 bytes<br></div><div>old                   174,548,768 bytes (95.1%)<br></div><div>young         7,190,528 bytes (3.9%)<br></div><div>used             142,214,448 bytes (77.5%)<br></div><div>free          34,639,056 bytes (18.9%)<br></div><div>GCs                    292 (2810.9 ms between GCs 400.6 ms runtime between GCs)<br></div><div>full           7 totalling 571 ms (0.49% runtime), avg 81.6 ms<br></div><div>marking         326 ms (57.1%) avg 46.6 ms,<br></div><div>compacting  245 ms (42.9%) avg 35 ms<br></div><div>scavenges      285 totalling 97 ms (0.08% runtime), avg 0.3 ms<br></div><div>tenures         98,384 (avg 345 tenures per scavenge)<br></div><div>Code compactions<br></div><div>35 totalling 34 ms (0.029% runtime), avg 1 ms<br></div></blockquote><br>I will kick it off now and see what happens.<br><br>cheers.<br><br>t<br><br></div><div><br></div><div class="x_1507445743zmail_extra_hr" style="border-top  :  1px solid rgb(204, 204, 204); min-height :  0px; margin-top  :  10px; margin-bottom  :  10px; line-height  :  0px;"><br></div><div class="x_1507445743zmail_extra"><br><div id="x_15074457431">---- On Sat, 16 Oct 2021 16:17:29 -0400 <b>gettimothy <<a href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>></b> wrote ----<br></div><br><blockquote style="margin  :  0px;"><div><div style="font-family   :  Verdana,    Arial,    Helvetica,    sans-serif; font-size   :  10pt;"><div>Alright, I may have a FS fix. the *fx-core-converting already has an 'asReference' so I just add another method in the method-category that calls it...<br></div><div><br></div><blockquote style="border   :  1px solid rgb(204, 204, 204); padding   :  7px; background-color   :  rgb(245, 245, 245);"><div><div>In String <br></div><div>create Method Category 'fs-core-converting'<br></div><div><br></div><div>add<br></div><div><br></div><div>asFileReference<br></div><div>   "Return an FSReference on disk"<br></div><div>   ^ self asReference<br></div></div></blockquote><div><br></div><div><br></div><div><br></div><div><br></div></div><br></div></blockquote></div><div><br></div></div><br></div><div><br></div></div><br></div><div><br></div></div><br></body></html>