[botan-devel] Performance 1.8.12 vs 1.10.0

Rickard Bellgrim rickardb at certezza.net
Thu Jun 30 16:49:09 EDT 2011


Hi

I have compared the performance between 1.8.12 and 1.10.0. But the latest version is a little bit slow compared with the old one.

(Old computer, thus not so great performance overall)

Botan 1.8.12
ods-hsmspeed -r SoftHSM1 -i 10000 -s 1024 -t 2
2 threads, 10000 signatures per thread, 278.40 sig/s (RSA 1024 bits)

Botan 1.10.0
ods-hsmspeed -r SoftHSM1 -i 10000 -s 1024 -t 2
2 threads, 10000 signatures per thread, 89.06 sig/s (RSA 1024 bits)

I am using EMSA3(Raw). Is it the new interface for PK_Signer that slows it down or what could it be?

Perhaps I should try to cache the PK_Signer object between each signing. The user initialize each signing by giving a reference to a key and an algorithm.  If those match the cache, then re-use old object.

// Rickard




More information about the botan-devel mailing list