Theme:
v
SSGear Incredible Speed

Other pages of interest:

Here are a few benchmarks1 demonstrating how fast the LC.Objects.SSGear object is.

Phenomenal Speed

First example: populate an SSGear object with 100000 rows and 5 columns

In the first example, we add a one hundred thousand rows by 5 columns integer matrix to the SSGear sheet:

      SSG''

      aaa←?100000 5⍴100000
      ⎕wi'clearsheet'1 ⋄ ⎕ts ⋄ ⎕wgive 0 ⋄ 0 0⍴⎕wi'add'1(1 1)aaa ⋄ ⎕ts
2012 1 2 16 24 36 144
2012 1 2 16 24 36 924      ⍝ i.e. did it in 780 milliseconds!

This is done by the SSGear object in less than one second (actually 780 milliseconds).

Just to compare, if I try the same using the APL+Win Grid object which is known to be a fast grid object, I get:

      ⎕ts⋄'ff.grid'⎕wi'*xValue'(⍳100000)(⍳5)aaa⋄⎕ts
2012 2 1 11 22 52 991
2012 2 1 11 23 5 310         ⍝ i.e. 12.319 seconds

which means that the SSGear control is about 16 times faster than the APL+Win Grid!

Second example: populate an SSGear object with 500000 rows and 5 columns

In the second example, we add a five hundred thousand rows by 5 columns integer matrix to the SSGear sheet:

      SSG''

      aaa←?500000 5⍴100000
      ⎕wi'clearsheet'1 ⋄ ⎕ts ⋄ ⎕wgive 0 ⋄ 0 0⍴⎕wi'add'1(1 1)aaa ⋄ ⎕ts
2012 1 2 16 24 55 254
2012 1 2 16 24 59 403      ⍝ i.e. did it in 4.149 seconds!

This is done by the SSGear object in just a little bit more than 4 seconds (actually 4.149 seconds).

Third example: populate an SSGear object with 1000 sheets each with a matrix of 100 rows by 5 columns

In the third example we add one thousand sheets to the SSGear object, each containing a 100 x 5 integer matrix.

      SSG''

      aaa←1000⍴⊂?100 5⍴10000000

      ⎕wi'clearsheet'1 ⋄ ⎕ts ⋄ ⎕wgive 0 ⋄ 0 0⍴⎕wi'add'1(1 1)aaa ⋄ ⎕ts
2012 1 2 16 34 31 132
2012 1 2 16 34 32 317      ⍝ i.e. did it in 1.185 seconds

This is performed by SSGear in just a little bit more than one second! (actually 1.185 second)

Fourth example: populate an SSGear object with 100 sheets each with a matrix of 1000 rows by 5 columns

In the fourth example we add one hundred sheets to the SSGear object, each containing a 1000 x 5 integer matrix.

      SSG''

      aaa←100⍴⊂?1000 5⍴10000000

      ⎕wi'clearsheet'1 ⋄ ⎕ts ⋄ ⎕wgive 0 ⋄ 0 0⍴⎕wi'add'1(1 1)aaa ⋄ ⎕ts
2012 1 2 16 37 53 218
2012 1 2 16 37 53 998      ⍝ i.e. did it in 780 milliseconds

This is performed by SSGear in less than one second! (actually 780 milliseconds)


1Benchmarks done on my Dell Precision M6500 laptop