Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Setup

  • Ryzen 9 3950x
  • 16gb DDR4 3200mhz

complete pipeline, fa1.2 and detexter

classic

┌───────────────────┬──────────┬────────────┬──────────┬──────────┬────────────┐
│ Name              │ Time/Run │    mWd/Run │ mjWd/Run │ Prom/Run │ Percentage │
├───────────────────┼──────────┼────────────┼──────────┼──────────┼────────────┤
│ FA1.2_Approve     │   1.46ms │   823.98kw │  16.48kw │  16.48kw │     18.48% │
│ FA1.2_Transfer    │   1.48ms │   844.19kw │  16.97kw │  16.97kw │     18.65% │
│ Dexter_xtzToToken │   7.91ms │ 4_342.47kw │ 127.42kw │ 126.12kw │    100.00% │
└───────────────────┴──────────┴────────────┴──────────┴──────────┴────────────┘

release

┌───────────────────┬──────────┬────────────┬──────────┬──────────┬────────────┐
│ Name              │ Time/Run │    mWd/Run │ mjWd/Run │ Prom/Run │ Percentage │
├───────────────────┼──────────┼────────────┼──────────┼──────────┼────────────┤
│ FA1.2_Approve     │   1.34ms │   823.66kw │  16.43kw │  16.43kw │     17.26% │
│ FA1.2_Transfer    │   1.37ms │   843.85kw │  16.98kw │  16.98kw │     17.58% │
│ Dexter_xtzToToken │   7.78ms │ 4_341.75kw │ 127.34kw │ 126.04kw │    100.00% │
└───────────────────┴──────────┴────────────┴──────────┴──────────┴────────────┘

release + O3

┌───────────────────┬──────────┬────────────┬──────────┬──────────┬────────────┐
│ Name              │ Time/Run │    mWd/Run │ mjWd/Run │ Prom/Run │ Percentage │
├───────────────────┼──────────┼────────────┼──────────┼──────────┼────────────┤
│ FA1.2_Approve     │   1.33ms │   823.66kw │  16.45kw │  16.45kw │     17.48% │
│ FA1.2_Transfer    │   1.37ms │   843.84kw │  17.00kw │  17.00kw │     18.00% │
│ Dexter_xtzToToken │   7.62ms │ 4_341.75kw │ 127.56kw │ 126.27kw │    100.00% │
└───────────────────┴──────────┴────────────┴──────────┴──────────┴────────────┘

flambda

┌───────────────────┬──────────┬────────────┬──────────┬──────────┬────────────┐
│ Name              │ Time/Run │    mWd/Run │ mjWd/Run │ Prom/Run │ Percentage │
├───────────────────┼──────────┼────────────┼──────────┼──────────┼────────────┤
│ FA1.2_Approve     │   1.48ms │   801.14kw │  16.38kw │  16.38kw │     17.83% │
│ FA1.2_Transfer    │   1.55ms │   817.73kw │  16.77kw │  16.77kw │     18.65% │
│ Dexter_xtzToToken │   8.29ms │ 4_226.64kw │ 125.79kw │ 124.50kw │    100.00% │
└───────────────────┴──────────┴────────────┴──────────┴──────────┴────────────

flambda + release

┌───────────────────┬──────────┬────────────┬──────────┬──────────┬────────────┐
│ Name              │ Time/Run │    mWd/Run │ mjWd/Run │ Prom/Run │ Percentage │
├───────────────────┼──────────┼────────────┼──────────┼──────────┼────────────┤
│ FA1.2_Approve     │   1.45ms │   785.79kw │  14.84kw │  14.84kw │     17.93% │
│ FA1.2_Transfer    │   1.42ms │   802.33kw │  15.91kw │  15.91kw │     17.54% │
│ Dexter_xtzToToken │   8.09ms │ 4_157.88kw │ 124.84kw │ 123.54kw │    100.00% │
└───────────────────┴──────────┴────────────┴──────────┴──────────┴────────────┘

flambda + release + O3

┌───────────────────┬──────────┬────────────┬──────────┬──────────┬────────────┐
│ Name              │ Time/Run │    mWd/Run │ mjWd/Run │ Prom/Run │ Percentage │
├───────────────────┼──────────┼────────────┼──────────┼──────────┼────────────┤
│ FA1.2_Approve     │   1.23ms │   730.63kw │  14.72kw │  14.72kw │     17.17% │
│ FA1.2_Transfer    │   1.25ms │   744.81kw │  15.43kw │  15.43kw │     17.47% │
│ Dexter_xtzToToken │   7.18ms │ 3_920.52kw │ 128.97kw │ 127.67kw │    100.00% │
└───────────────────┴──────────┴────────────┴──────────┴──────────┴────────────┘

factorial

Source

https://gitlab.com/marigold/tezos

  • commit cda159af642c28711fc6c588a6c0f435bb1c6530

closure

stats over all benchmarks: { max_time = 282173.000000 ; min_time = 254793.000000 ; mean_time = 270721.943333 ; sigma = 5446.870043 }

closure + profile=release

stats over all benchmarks: { max_time = 214865.000000 ; min_time = 171825.000000 ; mean_time = 179778.110000 ; sigma = 4131.914178 }

flambda

stats over all benchmarks: { max_time = 287233.000000 ; min_time = 234044.000000 ; mean_time = 240011.140000 ; sigma = 3372.560281 }

flambda + profile=release

stats over all benchmarks: { max_time = 205315.000000 ; min_time = 164746.000000 ; mean_time = 169131.426667 ; sigma = 3052.623750

Additional benchmarks

  • DCPS interpreter , dh@snoop-and-dcps, fabb6c277b3c6e6010c773d7cb68a4746caa958d
stats over all benchmarks: { max_time = 81428.000000 ; min_time = 73288.000000 ; mean_time = 78195.900000 ; sigma = 1864.130637 }
  • DCPS interpreter + profile=release , dh@snoop-and-dcps, fabb6c277b3c6e6010c773d7cb68a4746caa958d
stats over all benchmarks: { max_time = 53209.000000 ; min_time = 51219.000000 ; mean_time = 52058.953333 ; sigma = 349.019547 }
  • DCPS interpreter + flambda , dh@snoop-and-dcps, fabb6c277b3c6e6010c773d7cb68a4746caa958d
stats over all benchmarks: { max_time = 90158.000000 ; min_time = 66849.000000 ; mean_time = 72031.766667 ; sigma = 3059.995394 }
  • DCPS interpreter + flambda + profile=release, dh@snoop-and-dcps, fabb6c277b3c6e6010c773d7cb68a4746caa958d
stats over all benchmarks: { max_time = 43519.000000 ; min_time = 34839.000000 ; mean_time = 35547.063333 ; sigma = 1033.800793 }
  • Tagged interpreter, dh@snoop-and-dcps, f00dadff554dacb23f3faee2f134904a9ab068c1
stats over all benchmarks: { max_time = 68589.000000 ; min_time = 54949.000000 ; mean_time = 59127.910000 ; sigma = 2427.516921 }
  • Tagged interpreter + profile=release , dh@snoop-and-dcps, f00dadff554dacb23f3faee2f134904a9ab068c1
stats over all benchmarks: { max_time = 36099.000000 ; min_time = 34389.000000 ; mean_time = 35098.153333 ; sigma = 273.295877 }
  • Tagged interpreter + flambda, dh@snoop-and-tagged, f00dadff554dacb23f3faee2f134904a9ab068c1
stats over all benchmarks: { max_time = 51408.000000 ; min_time = 45289.000000 ; mean_time = 49028.260000 ; sigma = 2016.344033 }
  • Tagged interpreter + flambda + profile=release, dh@snoop-and-tagged, f00dadff554dacb23f3faee2f134904a9ab068c1
stats over all benchmarks: { max_time = 28300.000000 ; min_time = 26639.000000 ; mean_time = 27039.233333 ; sigma = 172.054484 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment