|
From: <and...@gm...> - 2026-06-09 02:03:20
|
Automated mail by fx, on behalf of and...@gm... Ticket Change [e0893df796768e45a0b26661deac0074b33324ae0f1f1a814a0c570b577fab5f] [Cache Composed Pixmaps for Ttk Image Elements] By mtmcp_ For Tk On 2026-06-09T01:55:14.639 Details https://core.tcl-lang.org/tk/tinfo?name=e0893df796768e45a0b26661deac0074b33324ae0f1f1a814a0c570b577fab5f Ticket https://core.tcl-lang.org/tk/tktview/7caf9e9edcfbee425264b76be61c973c7bd2db1f Changed Fields icomment: The test script now allows testing fully opaque and also transparency. Here are current performance metrics with the latest caching patch. As is evident here, the caching dramatically improves the speed for both fully opaque and transparent image elements. This is without any optimization on the blending path, which should of course be subject to the profiling runs. Linux (before): - Opaque: resize-bench (diagonal): 52 steps in 3410.8ms ( 65.59ms/step) - Transparent: resize-bench (diagonal): 52 steps in 20413.2ms (392.56ms/step) Linux (after): - Opaque: resize-bench (diagonal): 52 steps in 1773.3ms ( 34.10ms/step) - Transparent: resize-bench (diagonal): 52 steps in 11097.4ms (213.41ms/step) Windows (before): - Opaque: resize-bench (diagonal): 52 steps in 25325.8ms (487.04ms/step) - Transparent: resize-bench (diagonal): 52 steps in 33213.7ms (638.72ms/step) Windows (after): - Opaque: resize-bench (diagonal): 52 steps in 8587.4ms (165.14ms/step) - Transparent: resize-bench (diagonal): 52 steps in 16579.1ms (318.83ms/step) login: mtmcp_ ------------------------------------------------------------ See Tcl/Tk development @ http://core.tcl-lang.org/ ------------------------------------------------------------ |