Bitcoin Forum
September 11, 2026, 09:25:01 PM *
News: Latest Bitcoin Core release: 31.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: UltrafastSecp256k1Zero-dependency high-performance secp256k1 CPU CUDA RISC-V CL  (Read 781 times)
Cricktor
Legendary
*
Offline

Activity: 1610
Merit: 4439



View Profile
September 10, 2026, 12:01:18 PM
 #21

To have a nicer table you could put yours in [code][/code] tags and it would look like this then (had to remove some leading spaces from yours):
Quote from: shrec
Code:
operation               UltrafastSecp  libsecp v0.8.0    ratio
--------------------------------------------------------------
FIELD
  mul                           20.18           23.60    1.17x
  sqr                           18.81           19.27    1.02x
  add                            7.62           12.14    1.59x
  negate                        10.51           11.75    1.12x
  normalize                      5.74           13.73    2.39x
  from_bytes                     5.12           13.00    2.54x
  inverse (var)              1,502.74        1,565.12    1.04x  
SCALAR
  mul                           48.26           54.40    1.13x
  add                            9.27            9.73    1.05x
  negate                        10.50           12.95    1.23x
  from_bytes                     8.75            9.29    1.06x  
  inverse (var)              1,573.29        1,577.07    1.00x
  inverse (CT)               2,518.37        2,632.50    1.05x
GROUP LAW
  double                       111.77          127.89    1.14x
  add (mixed J+A)              225.75          216.72    0.96x  
  pubkey combine             1,754.53        3,244.23    1.85x
SCALAR MULT
  ecmult a*P+b*G            35,069.80       34,724.28    0.99x
  ecmult_gen k*G             8,800.88       16,888.72    1.92x
  scalar_mul k*P            31,475.22       32,441.95    1.03x
  pubkey_create              8,800.88       19,767.52    2.25x
SERIALIZATION
  compressed 33B                15.44           25.69    1.66x
  uncompressed 65B              13.23           28.77    2.17x
SIGNING (CT vs CT)
  ECDSA sign                19,447.31       28,368.92    1.46x
  Schnorr sign              15,371.24       21,390.94    1.39x
  Schnorr keypair           14,684.50       19,762.92    1.35x
VERIFICATION
  ECDSA verify              37,523.71       37,516.00    1.00x
  Schnorr verify            37,738.10       37,841.44    1.00x
--------------------------------------------------------------

Or even better, your work likely deserves it, make a proper BBcode table (all has been copied from OP's post and with a little help of Google Gemini to spare me the tedious work to assemble table, rows and columns BBcode tags and some sprinkle of formatting "salt"). You're free to copy my BBcode table version from your posted data and use it for your own, it's basically "your" table, only a little pimped up:

operationUltrafastSecp libsecp v0.8.0  ratio




FIELD 
  mul
20.18
23.60
 
1.17x
  sqr
18.81
19.27
 
1.02x
  add
7.62
12.14
 
1.59x
  negate
10.51
11.75
 
1.12x
  normalize
5.74
13.73
 
2.39x
  from_bytes
5.12
13.00
 
2.54x
  inverse (var)
1,502.74
1,565.12
 
1.04x
SCALAR 
  mul
48.26
54.40
 
1.13x
  add
9.27
9.73
 
1.05x
  negate
10.50
12.95
 
1.23x
  from_bytes
8.75
9.29
 
1.06x
  inverse (var)
1,573.29
1,577.07
 
1.00x
  inverse (CT)
2,518.37
2,632.50
 
1.05x
GROUP LAW 
  double
111.77
127.89
 
1.14x
  add (mixed J+A)
225.75
216.72
 
0.96x
  pubkey combine
1,754.53
3,244.23
 
1.85x
SCALAR MULT 
  ecmult aP+bG
35,069.80
34,724.28
 
0.99x
  ecmult_gen kG
8,800.88
16,888.72
 
1.92x
  scalar_mul kP
31,475.22
32,441.95
 
1.03x
  pubkey_create
8,800.88
19,767.52
 
2.25x
SERIALIZATION 
  compressed 33B
15.44
25.69
 
1.66x
  uncompressed 65B
13.23
28.77
 
2.17x
SIGNING (CT vs CT) 
  ECDSA sign
19,447.31
28,368.92
 
1.46x
  Schnorr sign
15,371.24
21,390.94
 
1.39x
  Schnorr keypair
14,684.50
19,762.92
 
1.35x
VERIFICATION 
  ECDSA verify
37,523.71
37,516.00
 
1.00x
  Schnorr verify
37,738.10
37,841.44
 
1.00x

Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!