Thanks, Alex!
It looks interesting, but I have a couple of issues :):
- I could not understand what selecting means.
- There is something wrong with loading Spy. It tells me that it needs
AnObsoleteSMethodInfo. Could you try to load it in a fresh image?
Maybe something went wrong during refactoring?
Cheers,
Doru
On 23 Oct 2009, at 21:49, Alexandre Bergel wrote:
Dear All,
I adapted to Glamour what I did for Mondrian
You will find below the report. I tried to find a bottleneck, but
Glamour behaves linearly in all my tries. This is a good news
therefore :-)
The report has been generated by doit-ing:
GlamourousHealth new produceReport
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Report produced on 2009-10-23T16:33:00+00:00
Version a MCVersionInfo(GlamourLoader-tg.34)
------------------
Opening Browser Benchmark:
15 openings => 3622 ms
------------------
------------------
Selecting Item Benchmark:
100 size and selections => 709 ms
200 size and selections => 815 ms
300 size and selections => 895 ms
400 size and selections => 993 ms
500 size and selections => 1094 ms
600 size and selections => 1197 ms
700 size and selections => 1705 ms
800 size and selections => 1431 ms
900 size and selections => 1533 ms
1000 size and selections => 1639 ms
1500 size and selections => 2493 ms
2000 size and selections => 2729 ms
------------------
------------------
Selecting in finder item Benchmark:
1 size and selections => 26 ms
5 size and selections => 148 ms
10 size and selections => 328 ms
15 size and selections => 483 ms
20 size and selections => 636 ms
25 size and selections => 833 ms
30 size and selections => 999 ms
35 size and selections => 1289 ms
40 size and selections => 1483 ms
45 size and selections => 1700 ms
50 size and selections => 1881 ms
------------------
33.02 % of methods are covered
Progress from last time: 0.0 %
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I also worked on a test coverage tool. Here is what I obtain for
Glamour.
Execute:
GlamourousHealth new viewTestCoverage
to have a mondrian rendering of the coverage. Inner light red boxes
are methods that are not directly or indirectly executed by unit
tests. Inner white boxes are methods executed when running the
tests. Outer boxes are classes. Edges designate superclass links.
<GlamourTestCoverage.png>
Feedback are welcome
Cheers,
Alexandre
NB: You need to install
www.squeaksource.com/Spy.html in order to
get the test coverage
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Sometimes the best solution is not the best solution."