[Cuis-dev] benchmarking and profiling morph's drawOn:

Hernán Wilkinson hernan.wilkinson at 10pines.com
Wed Mar 4 04:17:11 PST 2026


Not me but for sure Juan has done that or similar things many times.... but
he's still on vacation so let him enjoy!! hahaha.

On Wed, Mar 4, 2026 at 5:07 AM Luciano Notarfrancesco via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> 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
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 

*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260304/342e19da/attachment.htm>


More information about the Cuis-dev mailing list