HOnza

Fields drawing speed in FM12 depending on styles?

Discussion created by HOnza on Apr 11, 2012
Latest reply on May 21, 2012 by sebastijan

Marianco has recently mentioned being able to get FM12 layout drawing speed after conversion from FM11 back to an acceptable level by removing conditional formatting and switching field formats from the engraved border style to the new 1px solid border. See the original post here: Introducing the Performance Tuning Forum

 

Inspired by this discovery, I have created a test database file to check the speed differences depening on different field styles.

This file measures time needed to draw 4 fields, 2 of which are plain style and 2 are engraved.

There is some measurement error caused by the overhead of the measuremen itself, but it shoul dbe sufficient for some basic idea of the speed differences.

 

Download the file here

 

You will need 24U Toolbox Plug-In (no registration necessary) to test it yourself.

 

Here's result of my initial test on the MacBook Pro 2.3 GHz Core i7 with Mac OS X 10.6.8:

 

ProAdvanced 11.0v4:

12.4.2012 1:14:21,867317 Measured Layout drawing started

12.4.2012 1:14:21,867691 Measured Layout drawing in progress

12.4.2012 1:14:21,868492 Measured Layout drawing done

12.4.2012 1:14:21,868682 Measured Layout measuring overhead

 

ProAdvanced 12.0v1 after conversion:

12.4.2012 1:14:40,805686 Measured Layout drawing started

12.4.2012 1:14:40,807388 Measured Layout drawing in progress

12.4.2012 1:14:40,808998 Measured Layout drawing done

12.4.2012 1:14:40,809501 Measured Layout measuring overhead

 

ProAdvanced 12.0v1 after conversion and removing styles from all fields:

12.4.2012 1:24:37,789535 Measured Layout drawing started

12.4.2012 1:24:37,791168 Measured Layout drawing in progress

12.4.2012 1:24:37,792594 Measured Layout drawing done

12.4.2012 1:24:37,793083 Measured Layout measuring overhead

 

So the estimated times for drawing 1 field are:

 

FM Version / styles2 fields + overheadOverhead1 field (estimated)
11v4 plain374 µsec190 µsec92 µsec
11v4 engraved801 µsec190 µsec306 µsec
12v1 plain1702 µsec503 µsec600 µsec
12v1 engraved1610 µsec503 µsec554 µsec
12v1 no styles 11633 µsec489 µsec572 µsec
12v1 no styles 21426 µsec489 µsec469 µsec

 

Each test was performed by displaying the measured layout in browse mode for the first time after opeing the file.

It might be also interesting to see how re-entering the same layout affects the speed, assuming there may be some caching of the CSS involved.

 

Anyway, it seems that:

  • drawing fields is about twise as slow in FM12 as drawing engraved fields in FM11
  • impact of removing styles is marginal on my computer

 

Do you get different result on your configuration? What's the result? What's your computer/OS config?

 

HOnza

Outcomes