Xojo1BRC (Xojo One Billion Row Challenge)

Now that 2024R4 is out, let’s see how fast it is:

Tests on Intel i9: 

Xojo 2024 R3.1
 1.0  Baseline   328,000 rows/second
16.5x MD_6     6,370,000 rows/second
 0.8x MD_6 MT    329,000 rows/second (8 preemptive threads)  
### Multithreaded is much much slower in 2024R3.1 !

Xojo 2024 R4
 1.0  Baseline   425,000 rows/second 
12.5x MD_6     5,314,000 rows/second
60.4x MD_6 MT 25,727,000 rows/second (8 preemptive threads)

Testing on my new M4 Pro:

Xojo 2024 R3.1 - M4 Pro (10/4) - Apple Silicon
 1.0  Baseline   1,115,000 rows/second (3.5x faster for Arm vs. Intel)
12.2x MD_6      14,000,000 rows/second
 1.2x MD_6 MT    1,323,000 rows/second (8 preemptive threads)
### Multithreaded is much much slower in 2024R3.1 !

Xojo 2024 R4 - M4 Pro (10/4) Apple Silicon
 1.0  Baseline   1,253,000 rows/second 
13.0x MD_6      16,290,000 rows/second
55.3x MD_6 MT   69,233,000 rows/second (8 preemptive threads)

Conclusions:

  • 2024 R4 fixes some major performance issues in preemptive threading vs. 2024 R3.1
  • The M4 is fast - over 2.5x as fast on a per-core basis as Intel i9
7 Likes