doru can you reproduce your crash? Because igor asked and I did not see your answer.
Stef On Apr 25, 2013, at 12:03 AM, Tudor Girba <tu...@tudorgirba.com> wrote: > Hi, > > I did a little experiment to check the performance of Rubric when dealing > with large content. And by large, I mean 45 MB or about 15 million lines of > text. > > I opened the file in several other editors: > - TextMate: 10s + the text is wrapped and can be browsed smoothly > - Sublime Text 2: 10s + the text is wrapped and can be browsed smoothly > - Eclipse: 5s + browsing is very slow (so it is basically useless) > > How did Rubric perform: > - When opened with unwrapped lines: 33s + the text can be browsed smoothly > - When opened with wrapped lines -> Pharo crashed :( > > In any case, I think being 3 times slower (even if without wrapping) than > TextMate is highly exciting. Great job Alain. > > If you want to reproduce the experiment, here is the Smalltalk snippet I used: > > --- > Gofer new > smalltalkhubUser: 'AlainPlantec' project: 'Rubric'; > package: 'Rubric-AlainPlantec.26'; > load. > > [ > contents := ((FileSystem disk workingDirectory / 'src' / 'ArgoUML-0-34' > / 'output.mse') readStreamDo: #contents). > (RubLipsumBasicExample > windowWithScrolledText: ( > RubLipsumBasicExample new > string: contents; > newScrolledTextNotWrapped)) > openInWorld > ] timeToRun > --- > > Cheers, > Doru > > -- > www.tudorgirba.com > > "What we can governs what we wish." > > > >