Benchmarks!

A quick and non-micro benchmark to figure out how the ARM and AMD CPUs I have and what AWS has relate to each other in terms of single-thread performance.

Comparison is between

  • AWS t4g-micro (1 CPU)
  • IBM M75q (Ryzen 5 3400GE @ 3.3 GHz)
  • NanoPi R2S (RK3328, 4xCortex A53 @ 1.3GHz, 64 bit)
  • CubieTruck (AllWinner A20, 2xCortex A7 @ 1 GHz, 32 bit)

Below is the node-sqlite3 results from https://github.com/JoshuaWise/better-sqlite3 with Node.js v14.15 and sqlite 3.31 (average of 2 runs):

node-sqlite3 (mostly)t4g-microM75qRK3328A20
read rows individually19932152492160884
read 100 rows19661405320144
iterating over 100 rows2071552410
inserting rows individually17214130851556530
inserting 100 rows2501913013
tar tfv node-v14.15.1-linux-arm64.tar.xz1.5s1.4s5.2s10.5s
Very simple benchmark table

The last one has its stdout redirected to /dev/null.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create your website at WordPress.com
Get started
%d bloggers like this: