[Cuis-dev] benchmarking and profiling morph's drawOn:
Luciano Notarfrancesco
luchiano at gmail.com
Wed Mar 4 00:07:06 PST 2026
Does anyone do this? How do you do it? I've been using these two
methods, maybe someone will find them useful.
bench
| canvas form |
form := Form extent: self morphExtent depth: Display depth.
canvas := VectorCanvas onForm: form.
^ [self drawOn: canvas] bench
timeProfile
| canvas form |
form := Form extent: self morphExtent depth: Display depth.
canvas := VectorCanvas onForm: form.
^ [200 timesRepeat: [self drawOn: canvas]] timeProfile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260304/45538885/attachment.htm>
More information about the Cuis-dev
mailing list