The results are in.

It looks like it didn't change anything on x64.

However we seem to get consistently better results on Win32 / x86.

The data is appended.

BR

JPM


Am 31.05.2016 um 22:30 schrieb Jean-Pierre Münch:
>
> I can do that.
>
> It's compiling the current Git-Master for reference purposes right now.
>
> I'll probably be able to report the results by tomorrow.
>
> BR
>
> JPM
>
>
> Am 30.05.2016 um 22:20 schrieb Jeffrey Walton:
>> Hi Everyone,
>>
>> alignof and alignas was added to Visual Studio 2015. Would someone
>> add the following to the end of config.h and perform some testing
>> under Visual Studio 2015 with it in effect:
>>
>> // Hack... CRYPTOPP_ALIGN_DATA is defined earlier, before C++11
>> alignas availability is determined
>> #if defined(CRYPTOPP_CXX11_ALIGNAS)
>> # undef CRYPTOPP_ALIGN_DATA
>> # define CRYPTOPP_ALIGN_DATA(x) alignas(x)
>> #endif  // CRYPTOPP_CXX11_ALIGNAS
>>
>> I'm interested in two things. First, does the code actually compile
>> under Visual Studio 2015. Second, does the code enjoy a speedup when
>> using it?
>>
>> The speedup (or lack thereof) can be measured with a benchmark:
>>
>>     ./cryptest.exe b <time in seconds> <cpu speed in GHz>
>>
>> Jeff
>> -- 
>> -- 
>> You received this message because you are subscribed to the "Crypto++
>> Users" Google Group.
>> To unsubscribe, send an email to
>> [email protected].
>> More information about Crypto++ and this group is available at
>> http://www.cryptopp.com.
>> ---
>> You received this message because you are subscribed to the Google
>> Groups "Crypto++ Users" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to [email protected]
>> <mailto:[email protected]>.
>> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> -- 
> You received this message because you are subscribed to the "Crypto++
> Users" Google Group.
> To unsubscribe, send an email to
> [email protected].
> More information about Crypto++ and this group is available at
> http://www.cryptopp.com.
> ---
> You received this message because you are subscribed to the Google
> Groups "Crypto++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
CPU frequency of the test platform is 2.4e+09 Hz.
AlgorithmMiB/SecondCycles Per ByteMicroseconds to
Setup Key and IV
Cycles to
Setup Key and IV
AES/GCM8742.60.5421301
AES/CCM (128-bit key)2638.70.394946
AES/EAX (128-bit key)2638.70.6501561
GMAC(AES)37190.60.5411299
VMAC(AES)-64 (128-bit key)32110.70.9712331
VMAC(AES)-128 (128-bit key)16291.41.1382732
HMAC(SHA-1) (128-bit key)3197.20.290695
Two-Track-MAC (160-bit key)15814.50.03174
CMAC(AES) (128-bit key)3406.70.271649
DMAC(AES) (128-bit key)3416.70.7411779
BLAKE2s (256-bit key)4465.10.202486
BLAKE2b (512-bit key)4565.00.204490
CRC323546.5
CRC32C33740.7
Adler3222511.0
MD53776.1
SHA-13366.8
SHA-25621310.7
SHA-51219711.6
SHA-3-2246833.8
SHA-3-2566435.8
SHA-3-3844946.7
SHA-3-5123467.4
Tiger3855.9
Whirlpool11719.5
RIPEMD-16015614.6
RIPEMD-32018312.5
RIPEMD-12822710.1
RIPEMD-2562688.5
BLAKE2s4455.1
BLAKE2b4575.0
Panama-LE (256-bit key)15881.40.8221972
Panama-BE (256-bit key)7932.91.2082900
Salsa20 (256-bit key)8132.80.135323
Salsa20/1212881.80.156375
Salsa20/818171.30.156374
ChaCha20 (256-bit key)21510.60.117281
ChaCha12 (256-bit key)3436.70.117281
ChaCha8 (256-bit key)4884.70.117281
Sosemanuk (128-bit key)12641.80.6541569
MARC4 (128-bit key)3217.11.8434423
SEAL-3.0-LE (160-bit key)5154.429.22170131
WAKE-OFB-LE (256-bit key)2638.72.4425862
AES/CTR (128-bit key)9852.30.297714
AES/CTR (192-bit key)8492.70.284682
AES/CTR (256-bit key)7493.10.303727
AES/CBC (128-bit key)3406.70.260624
AES/CBC (192-bit key)2927.80.246589
AES/CBC (256-bit key)2569.00.264635
AES/OFB (128-bit key)3217.10.293702
AES/CFB (128-bit key)3396.80.349837
AES/ECB (128-bit key)12411.80.143343
Camellia/CTR (128-bit key)9723.50.250599
Camellia/CTR (256-bit key)7530.60.282677
Twofish/CTR (128-bit key)11619.73.5198445
Serpent/CTR (128-bit key)6038.00.5931423
CAST-256/CTR (128-bit key)7530.51.7014083
RC6/CTR (128-bit key)17513.01.7674241
MARS/CTR (128-bit key)7530.42.0624949
SHACAL-2/CTR (128-bit key)10322.30.393944
SHACAL-2/CTR (512-bit key)10322.30.394945
DES/CTR (64-bit key)5045.62.7366566
DES-XEX3/CTR (192-bit key)4748.32.7836679
DES-EDE3/CTR (192-bit key)21110.19.49622791
IDEA/CTR (128-bit key)6336.50.294705
RC5 (r=16)16114.21.4203409
Blowfish/CTR (128-bit key)8128.147.147113154
TEA/CTR (128-bit key)5145.20.224538
XTEA/CTR (128-bit key)5839.50.224537
CAST-128/CTR (128-bit key)7929.10.4361047
SKIPJACK/CTR (80-bit key)20112.61.8064334
SEED/CTR (1/2 K table)4748.50.306735
CryptoPP::Exception caught: FileStore: error opening file for reading: TestData/rsa1024.dat CPU frequency of the test platform is 2.4e+09 Hz.
OperationMilliseconds/OperationMegacycles/Operation
AlgorithmMiB/SecondCycles Per ByteMicroseconds to
Setup Key and IV
Cycles to
Setup Key and IV
AES/GCM9472.40.4451068
AES/CCM (128-bit key)2708.50.305733
AES/EAX (128-bit key)2718.40.5381291
GMAC(AES)36230.60.4451069
VMAC(AES)-64 (128-bit key)68040.30.8342003
VMAC(AES)-128 (128-bit key)38920.60.9532288
HMAC(SHA-1) (128-bit key)3806.00.281675
Two-Track-MAC (160-bit key)17313.20.01535
CMAC(AES) (128-bit key)3416.70.215515
DMAC(AES) (128-bit key)3416.70.5581339
BLAKE2s (256-bit key)4485.10.164395
BLAKE2b (512-bit key)5394.20.170408
CRC323546.5
CRC32C33770.7
Adler3222511.0
MD53925.8
SHA-13656.3
SHA-25621210.8
SHA-5122389.6
SHA-3-2242389.6
SHA-3-25622510.2
SHA-3-38417213.3
SHA-3-51212019.1
Tiger4285.4
Whirlpool8128.3
RIPEMD-16017213.3
RIPEMD-32019112.0
RIPEMD-1282559.0
RIPEMD-2562917.9
BLAKE2s4485.1
BLAKE2b5404.2
Panama-LE (256-bit key)15341.50.8251981
Panama-BE (256-bit key)9242.51.1122668
Salsa20 (256-bit key)7762.90.117281
Salsa20/1212291.90.136326
Salsa20/817341.30.136326
ChaCha20 (256-bit key)3656.30.098234
ChaCha12 (256-bit key)5664.00.097234
ChaCha8 (256-bit key)7802.90.097234
Sosemanuk (128-bit key)12701.80.5501319
MARC4 (128-bit key)3077.41.8104343
SEAL-3.0-LE (160-bit key)5833.926.72564139
WAKE-OFB-LE (256-bit key)2638.72.4275826
AES/CTR (128-bit key)13101.70.234561
AES/CTR (192-bit key)10932.10.223535
AES/CTR (256-bit key)9302.50.246590
AES/CBC (128-bit key)3426.70.210504
AES/CBC (192-bit key)2937.80.200480
AES/CBC (256-bit key)2578.90.222533
AES/OFB (128-bit key)3336.90.230552
AES/CFB (128-bit key)3406.70.276663
AES/ECB (128-bit key)14321.60.107256
Camellia/CTR (128-bit key)10921.00.199478
Camellia/CTR (256-bit key)8427.20.217521
Twofish/CTR (128-bit key)12718.03.3368006
Serpent/CTR (128-bit key)6336.50.5021204
CAST-256/CTR (128-bit key)8128.41.6323917
RC6/CTR (128-bit key)17013.53.2177720
MARS/CTR (128-bit key)8826.11.7134110
SHACAL-2/CTR (128-bit key)13916.40.320769
SHACAL-2/CTR (512-bit key)13916.40.329790
DES/CTR (64-bit key)5740.13.1587578
DES-XEX3/CTR (192-bit key)5343.13.2267743
DES-EDE3/CTR (192-bit key)22105.211.16426793
IDEA/CTR (128-bit key)7530.60.262628
RC5 (r=16)13417.12.5376089
Blowfish/CTR (128-bit key)9025.542.722102534
TEA/CTR (128-bit key)5541.90.181434
XTEA/CTR (128-bit key)5541.20.180433
CAST-128/CTR (128-bit key)8028.40.381914
SKIPJACK/CTR (80-bit key)22101.91.6694006
SEED/CTR (1/2 K table)4847.50.265637
CryptoPP::Exception caught: FileStore: error opening file for reading: TestData/rsa1024.dat CPU frequency of the test platform is 2.4e+09 Hz.
OperationMilliseconds/OperationMegacycles/Operation
AlgorithmMiB/SecondCycles Per ByteMicroseconds to
Setup Key and IV
Cycles to
Setup Key and IV
AES/GCM7603.00.5401297
AES/CCM (128-bit key)2529.10.389933
AES/EAX (128-bit key)2559.00.6471552
GMAC(AES)37690.60.5401296
VMAC(AES)-64 (128-bit key)32110.70.9782347
VMAC(AES)-128 (128-bit key)16291.41.1592782
HMAC(SHA-1) (128-bit key)3356.80.289693
Two-Track-MAC (160-bit key)16014.30.02253
CMAC(AES) (128-bit key)3406.70.263630
DMAC(AES) (128-bit key)3416.70.7531806
BLAKE2s (256-bit key)4465.10.195469
BLAKE2b (512-bit key)4575.00.197473
CRC323546.5
CRC32C33750.7
Adler3222511.0
MD53776.1
SHA-13346.8
SHA-25621410.7
SHA-51219611.7
SHA-3-2246833.4
SHA-3-2566535.4
SHA-3-3844946.3
SHA-3-5123466.8
Tiger3856.0
Whirlpool11719.6
RIPEMD-16015514.8
RIPEMD-32018112.6
RIPEMD-12822610.1
RIPEMD-2562618.8
BLAKE2s4465.1
BLAKE2b4565.0
Panama-LE (256-bit key)15931.40.8251981
Panama-BE (256-bit key)8472.71.2152915
Salsa20 (256-bit key)8132.80.133318
Salsa20/1212881.80.153368
Salsa20/818181.30.153367
ChaCha20 (256-bit key)21510.60.112269
ChaCha12 (256-bit key)3436.70.112269
ChaCha8 (256-bit key)4884.70.112269
Sosemanuk (128-bit key)12651.80.6481554
MARC4 (128-bit key)3217.11.8654476
SEAL-3.0-LE (160-bit key)5144.429.29170298
WAKE-OFB-LE (256-bit key)2638.72.4415859
AES/CTR (128-bit key)11462.00.294706
AES/CTR (192-bit key)9712.40.281675
AES/CTR (256-bit key)8432.70.301721
AES/CBC (128-bit key)3416.70.260623
AES/CBC (192-bit key)2927.80.245588
AES/CBC (256-bit key)2568.90.264633
AES/OFB (128-bit key)3227.10.290697
AES/CFB (128-bit key)3396.70.348836
AES/ECB (128-bit key)12391.80.141339
Camellia/CTR (128-bit key)9623.90.246591
Camellia/CTR (256-bit key)7430.80.276662
Twofish/CTR (128-bit key)11619.73.5048410
Serpent/CTR (128-bit key)6037.90.5861406
CAST-256/CTR (128-bit key)7530.41.7004079
RC6/CTR (128-bit key)17113.41.7744258
MARS/CTR (128-bit key)7729.92.0554932
SHACAL-2/CTR (128-bit key)10322.20.389933
SHACAL-2/CTR (512-bit key)10322.20.390937
DES/CTR (64-bit key)5045.52.7366566
DES-XEX3/CTR (192-bit key)4749.02.7536607
DES-EDE3/CTR (192-bit key)21109.49.33022391
IDEA/CTR (128-bit key)6336.50.289693
RC5 (r=16)16114.31.4223413
Blowfish/CTR (128-bit key)8128.247.129113108
TEA/CTR (128-bit key)5045.40.219527
XTEA/CTR (128-bit key)5839.60.219527
CAST-128/CTR (128-bit key)7929.10.4311035
SKIPJACK/CTR (80-bit key)20112.71.8064335
SEED/CTR (1/2 K table)4748.50.304729
CryptoPP::Exception caught: FileStore: error opening file for reading: TestData/rsa1024.dat CPU frequency of the test platform is 2.4e+09 Hz.
OperationMilliseconds/OperationMegacycles/Operation
AlgorithmMiB/SecondCycles Per ByteMicroseconds to
Setup Key and IV
Cycles to
Setup Key and IV
AES/GCM9592.40.4451069
AES/CCM (128-bit key)2708.50.305733
AES/EAX (128-bit key)2718.40.5351283
GMAC(AES)36270.60.4461070
VMAC(AES)-64 (128-bit key)68310.30.8081940
VMAC(AES)-128 (128-bit key)39120.60.9532288
HMAC(SHA-1) (128-bit key)3806.00.281676
Two-Track-MAC (160-bit key)17313.20.01536
CMAC(AES) (128-bit key)3416.70.215515
DMAC(AES) (128-bit key)3416.70.5581340
BLAKE2s (256-bit key)4485.10.166398
BLAKE2b (512-bit key)5404.20.170408
CRC323546.5
CRC32C33760.7
Adler3222511.0
MD53965.8
SHA-13706.2
SHA-25621410.7
SHA-5122389.6
SHA-3-2242389.6
SHA-3-25622510.2
SHA-3-38417213.3
SHA-3-51212019.1
Tiger4455.1
Whirlpool8227.9
RIPEMD-16017313.2
RIPEMD-32019411.8
RIPEMD-1282559.0
RIPEMD-2562987.7
BLAKE2s4485.1
BLAKE2b5404.2
Panama-LE (256-bit key)15311.50.8311993
Panama-BE (256-bit key)9212.51.1162677
Salsa20 (256-bit key)7782.90.118282
Salsa20/1212311.90.137329
Salsa20/817391.30.137329
ChaCha20 (256-bit key)3676.20.099238
ChaCha12 (256-bit key)5714.00.101242
ChaCha8 (256-bit key)7842.90.099238
Sosemanuk (128-bit key)12691.80.5491319
MARC4 (128-bit key)3077.51.8244377
SEAL-3.0-LE (160-bit key)5843.926.70964101
WAKE-OFB-LE (256-bit key)2638.72.4275824
AES/CTR (128-bit key)13101.70.233560
AES/CTR (192-bit key)10932.10.223535
AES/CTR (256-bit key)9282.50.247593
AES/CBC (128-bit key)3426.70.210504
AES/CBC (192-bit key)2937.80.200480
AES/CBC (256-bit key)2578.90.222534
AES/OFB (128-bit key)3336.90.230552
AES/CFB (128-bit key)3406.70.276664
AES/ECB (128-bit key)14321.60.107256
Camellia/CTR (128-bit key)10921.00.199478
Camellia/CTR (256-bit key)8427.20.217521
Twofish/CTR (128-bit key)12618.13.3287988
Serpent/CTR (128-bit key)6336.50.5021204
CAST-256/CTR (128-bit key)8128.31.6323917
RC6/CTR (128-bit key)17013.43.2167718
MARS/CTR (128-bit key)8826.11.7134112
SHACAL-2/CTR (128-bit key)13916.40.321771
SHACAL-2/CTR (512-bit key)13916.40.331793
DES/CTR (64-bit key)5740.13.1737615
DES-XEX3/CTR (192-bit key)5343.13.1717611
DES-EDE3/CTR (192-bit key)22105.211.16426793
IDEA/CTR (128-bit key)7530.70.264633
RC5 (r=16)13317.22.5406096
Blowfish/CTR (128-bit key)9025.542.722102534
TEA/CTR (128-bit key)5541.90.181434
XTEA/CTR (128-bit key)5541.30.180433
CAST-128/CTR (128-bit key)8028.40.379911
SKIPJACK/CTR (80-bit key)22101.81.6663998
SEED/CTR (1/2 K table)4847.50.267640
CryptoPP::Exception caught: FileStore: error opening file for reading: TestData/rsa1024.dat

Reply via email to

OperationMilliseconds/OperationMegacycles/Operation