Created
January 12, 2021 13:53
-
-
Save synopse/670ee98e62be807d69af8e002e877d3c to your computer and use it in GitHub Desktop.
mORMot 2 tests on Linux x86_64 - twice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hint: (lazarus) [TMainIDE.DoRunProjectWithoutDebug] ExeCmdLine=""/home/ab/dev/lib2/test/fpc/bin/x86_64-linux/mormot2tests"" | |
mORMot2 Regression Tests | |
-------------------------- | |
1. Core units | |
1.1. Core base: | |
- RecordCopy: 162 assertions passed 36us | |
- TRawUtf8List: 190,172 assertions passed 70.01ms | |
- TDynArray: 1,091,804 assertions passed 143.77ms | |
- TDynArrayHashed: 1,599,070 assertions passed 942.21ms | |
- TSynDictionary: 149,850 assertions passed 478.10ms | |
- TSynQueue: 6,541,501 assertions passed 310.26ms | |
- TSynNameValue: 40,032 assertions passed 14.20ms | |
- TRawUtf8Interning: 2,000,013 assertions passed 200.67ms | |
500000 interning 16 KB in 80.47ms i.e. 6,213,032/s, aver. 0us, 189.6 MB/s | |
500000 direct 15.2 MB in 27.13ms i.e. 18,427,744/s, aver. 0us, 562.3 MB/s | |
- TObjArray: 3,230 assertions passed 1.12ms | |
- Custom RTL: 77,552 assertions passed 338.99ms | |
FillCharFast [] in 14.53ms, 26.7 GB/s | |
MoveFast [] in 1.87ms, 8.3 GB/s | |
small MoveFast [] in 6.70ms, 3.2 GB/s | |
big MoveFast [] in 40.65ms, 9.6 GB/s | |
FillCharFast [cpuAVX] in 12.46ms, 31.1 GB/s | |
MoveFast [cpuAVX] in 1.60ms, 9.7 GB/s | |
small MoveFast [cpuAVX] in 6.68ms, 3.2 GB/s | |
big MoveFast [cpuAVX] in 41.03ms, 9.5 GB/s | |
- Fast string compare: 27 assertions passed 19us | |
- IdemPropName: 216 assertions passed 38us | |
- Url encoding: 152 assertions passed 1.01ms | |
- GUID: 10,019 assertions passed 4.41ms | |
- ParseCommandArguments: 232 assertions passed 42us | |
- IsMatch: 4,250 assertions passed 216us | |
- TExprParserMatch: 140 assertions passed 113us | |
- Soundex: 35 assertions passed 31us | |
- Numerical conversions: 2,542,022 assertions passed 462.40ms | |
100000 FloatToText in 78.67ms i.e. 1,271,051/s, aver. 0us, 23 MB/s | |
100000 str in 43.04ms i.e. 2,323,150/s, aver. 0us, 53.1 MB/s | |
100000 DoubleToShort in 14.11ms i.e. 7,085,163/s, aver. 0us, 141.9 MB/s | |
100000 DoubleToAscii in 13.22ms i.e. 7,563,152/s, aver. 0us, 153 MB/s | |
- Integers: 33,860 assertions passed 45.15ms | |
- crc32c: 320,100 assertions passed 117.41ms | |
pas 266.8 MB/s fast 1.2 GB/s sse42 5.7 GB/s sse42+aesni 7.8 GB/s | |
- Random32: 201,002 assertions passed 2.78ms | |
200000 Random32 in 2.66ms i.e. 75,046,904/s, aver. 0us, 286.2 MB/s | |
- Bloom filters: 2,010,072 assertions passed 342.57ms | |
- DeltaCompress: 87 assertions passed 12.48ms | |
- Curr 64: 20,056 assertions passed 1.67ms | |
- CamelCase: 11 assertions passed 24us | |
- Bits: 32,657 assertions passed 40.41ms | |
- Ini files: 7,028 assertions passed 40.96ms | |
- UTF8: 1,067,744 assertions passed 937.28ms | |
- Url decoding: 1,101 assertions passed 197us | |
- Baudot code: 10,007 assertions passed 44.65ms | |
- Iso 8601 date and time: 200,831 assertions passed 8.10ms | |
- Time zones: 400 assertions passed 200.26ms | |
- Mime types: 30 assertions passed 73us | |
- Quick select: 4,015 assertions passed 141.28ms | |
- TSynCache: 404 assertions passed 77us | |
- TSynFilter: 804 assertions passed 3.84ms | |
- TSynValidate: 677 assertions passed 988us | |
- TSynLogFile: 43 assertions passed 488us | |
- TSynUniqueIdentifier: 1,300,002 assertions passed 417.49ms | |
200000 ComputeNew in 12.11ms i.e. 16,504,373/s, aver. 0us | |
Total failed: 0 / 19,461,410 - Core base PASSED 5.32s | |
1.2. Core process: | |
- RTTI: 1,338 assertions passed 447us | |
- Url encoding: 200 assertions passed 633us | |
- Encode decode JSON: 430,134 assertions passed 121.91ms | |
- Wiki markdown to html: 56 assertions passed 75us | |
- Variants: 97 assertions passed 52us | |
- Mustache renderer: 153 assertions passed 972us | |
- TDocVariant: 91,785 assertions passed 89.34ms | |
- TDecimal128: 17,446 assertions passed 1.76ms | |
- BSON: 245,070 assertions passed 5.15ms | |
100000 TBsonObjectID.ComputeNew in 4.58ms i.e. 21,819,768/s, aver. 0us | |
- TSelectStatement: 221 assertions passed 109us | |
- TSynMonitorUsage: 1,202 assertions passed 91us | |
Total failed: 0 / 787,702 - Core process PASSED 220.66ms | |
1.3. Core crypto: | |
- Adler32: 1 assertion passed 11us | |
- MD5: 166 assertions passed 264us | |
- SHA1: 12 assertions passed 3.33ms | |
- SHA256: 26 assertions passed 43.79ms | |
- SHA512: 27 assertions passed 30.06ms | |
- SHA3: 8,225 assertions passed 54.79ms | |
- AES256: 6,682 assertions passed 71.76ms | |
cypher 1..450 bytes with AES-NI: 108us, without: 237us | |
- AES_GCM: 212 assertions passed 51us | |
- RC4: 1,016 assertions passed 4.31ms | |
- Base64: 11,991 assertions passed 130.69ms | |
- TAesPNRG: 231,311 assertions passed 70.55ms | |
200000 Random32 in 8.25ms i.e. 24,227,740/s, aver. 0us, 92.4 MB/s | |
FillRandom in 408us, 467.4 MB/s | |
- CryptDataForCurrentUser: 5,000 assertions passed 7.38ms | |
2000 AES-CFB in 7.16ms i.e. 279,212/s, aver. 3us, 145.5 MB/s | |
- JWT: 162,736 assertions passed 311.98ms | |
1000 HS256 in 2.10ms i.e. 475,285/s, aver. 2us | |
1000 HS384 in 2.07ms i.e. 481,463/s, aver. 2us | |
1000 HS512 in 2.12ms i.e. 470,588/s, aver. 2us | |
1000 S3224 in 1.88ms i.e. 529,661/s, aver. 1us | |
1000 S3256 in 1.83ms i.e. 544,069/s, aver. 1us | |
1000 S3384 in 1.83ms i.e. 544,662/s, aver. 1us | |
1000 S3512 in 1.83ms i.e. 544,959/s, aver. 1us | |
1000 S3S128 in 1.78ms i.e. 559,284/s, aver. 1us | |
1000 S3S256 in 1.84ms i.e. 540,832/s, aver. 1us | |
100 ES256 in 110.18ms i.e. 907/s, aver. 1.10ms | |
- Benchmark: 67,500 assertions passed 527.91ms | |
2500 crc32c in 371us i.e. 6738544/s or 14 GB/s | |
2500 xxhash32 in 1.26ms i.e. 1984126/s or 4.1 GB/s | |
2500 hash32 in 687us i.e. 3639010/s or 7.5 GB/s | |
2500 md5 in 12.70ms i.e. 196710/s or 418.6 MB/s | |
2500 sha1 in 21.96ms i.e. 113827/s or 242.2 MB/s | |
2500 hmacsha1 in 24.29ms i.e. 102897/s or 218.9 MB/s | |
2500 sha256 in 26.82ms i.e. 93189/s or 198.3 MB/s | |
2500 hmacsha256 in 29.25ms i.e. 85458/s or 181.8 MB/s | |
2500 sha384 in 18.01ms i.e. 138750/s or 295.2 MB/s | |
2500 hmacsha384 in 21.30ms i.e. 117321/s or 249.6 MB/s | |
2500 sha512 in 17.99ms i.e. 138904/s or 295.6 MB/s | |
2500 hmacsha512 in 21.68ms i.e. 115281/s or 245.3 MB/s | |
2500 sha3_256 in 40.31ms i.e. 62005/s or 131.9 MB/s | |
2500 sha3_512 in 73.65ms i.e. 33942/s or 72.2 MB/s | |
2500 rc4 in 21.53ms i.e. 116079/s or 247 MB/s | |
2500 aes128cfb in 11.15ms i.e. 224114/s or 476.9 MB/s | |
2500 aes128ofb in 7.12ms i.e. 350778/s or 746.5 MB/s | |
2500 aes128cfbcrc in 12.23ms i.e. 204331/s or 434.8 MB/s | |
2500 aes128ofbcrc in 8.85ms i.e. 282294/s or 600.7 MB/s | |
2500 aes128gcm in 15.24ms i.e. 163945/s or 348.9 MB/s | |
2500 aes256cfb in 13.52ms i.e. 184842/s or 393.3 MB/s | |
2500 aes256ofb in 9.67ms i.e. 258451/s or 550 MB/s | |
2500 aes256cfbcrc in 14.60ms i.e. 171150/s or 364.2 MB/s | |
2500 aes256ofbcrc in 11.32ms i.e. 220809/s or 469.9 MB/s | |
2500 aes256gcm in 17.72ms i.e. 141083/s or 300.2 MB/s | |
2500 shake128 in 33.57ms i.e. 74471/s or 158.4 MB/s | |
2500 shake256 in 40.50ms i.e. 61728/s or 131.3 MB/s | |
Total failed: 0 / 494,905 - Core crypto PASSED 1.25s | |
1.4. Core ecc: | |
- Reference vectors: 23 assertions passed 12.53ms | |
- ecc_make_key: 200 assertions passed 172.36ms | |
- ecdsa_sign: 200 assertions passed 179.62ms | |
- ecdsa_verify: 200 assertions passed 219.44ms | |
- ecdh_shared_secret: 597 assertions passed 365.20ms | |
- Certificates and signatures: 91 assertions passed 43.53ms | |
- Ecc command line tool: 470 assertions passed 252.10ms | |
- ECDHE stream protocol: 521,295 assertions passed 599.36ms | |
Total failed: 0 / 523,076 - Core ecc PASSED 1.84s | |
1.5. Core compression: | |
- In memory compression: 21 assertions passed 377.36ms | |
- GZIP format: 30 assertions passed 231.37ms | |
- ZIP format: 66 assertions passed 597.23ms | |
- SynLZ: 23,142 assertions passed 131.56ms | |
- TAlgoCompress: 914 assertions passed 723.68ms | |
TAlgoSynLZ 3.8 MB->2.2 MB: comp 143:83MB/s decomp 132:227MB/s | |
TAlgoLizard 3.8 MB->2.1 MB: comp 24:13MB/s decomp 702:1262MB/s | |
TAlgoLizardFast 3.8 MB->2.4 MB: comp 183:117MB/s decomp 1000:1559MB/s | |
TAlgoLizardHuffman 3.8 MB->2 MB: comp 65:34MB/s decomp 245:461MB/s | |
TAlgoDeflate 3.8 MB->1.7 MB: comp 16:7MB/s decomp 61:134MB/s | |
TAlgoDeflateFast 3.8 MB->1.8 MB: comp 36:17MB/s decomp 59:124MB/s | |
Total failed: 0 / 24,173 - Core compression PASSED 2.07s | |
1.6. Network protocols: | |
- Rtsp over http: 1,900 assertions passed 262.56ms | |
Total failed: 0 / 1,900 - Network protocols PASSED 262.62ms | |
2. ORM | |
2.1. Orm core: | |
- TOrm: 96 assertions passed 429us | |
- TOrmSigned: 200 assertions passed 4.25ms | |
- TOrmModel: 16 assertions passed 60us | |
- TRestServerFullMemory: 1,130,745 assertions passed 1s | |
Total failed: 0 / 1,131,057 - Orm core PASSED 1s | |
2.2. Sqlite file: | |
- Database direct access: 22,278 assertions passed 67.57ms | |
- Virtual table direct access: 12 assertions passed 502us | |
- TOrmTableJson: 144,083 assertions passed 80.71ms | |
- TRestClientDB: 608,198 assertions passed 935.03ms | |
- TRecordVersion: 20,060 assertions passed 60.14ms | |
Total failed: 0 / 794,631 - Sqlite file PASSED 1.14s | |
2.3. Sqlite file WAL: | |
- Database direct access: 22,278 assertions passed 71.42ms | |
- Virtual table direct access: 12 assertions passed 408us | |
- TOrmTableJson: 144,083 assertions passed 80.38ms | |
- TRestClientDB: 608,198 assertions passed 950ms | |
- TRecordVersion: 20,060 assertions passed 60.83ms | |
Total failed: 0 / 794,631 - Sqlite file WAL PASSED 1.16s | |
2.4. Sqlite memory: | |
- Database direct access: 22,258 assertions passed 57.23ms | |
- Virtual table direct access: 12 assertions passed 334us | |
- TOrmTableJson: 144,083 assertions passed 77.99ms | |
- TRestClientDB: 676,505 assertions passed 1.43s | |
- TRecordVersion: 20,060 assertions passed 61.17ms | |
- TOrmTableWritable: 24,056 assertions passed 4.39ms | |
- RTree: 280,024 assertions passed 1.22s | |
10000 With RTree in 626.29ms i.e. 15,966/s, aver. 62us | |
10000 With RTreeInteger in 596.10ms i.e. 16,775/s, aver. 59us | |
- Shard write: 10,602 assertions passed 131.61ms | |
- Shard read: 140,001 assertions passed 213.73ms | |
- Shard read after purge: 114,003 assertions passed 174.48ms | |
- MaxShardCount: 144,002 assertions passed 190.55ms | |
Total failed: 0 / 1,575,606 - Sqlite memory PASSED 3.56s | |
2.5. External database: | |
- SynDBRemote: 35,589 assertions passed 102.32ms | |
- DB properties persistence: 7 assertions passed 161us | |
- External records: 2 assertions passed 163us | |
- Auto adapt SQL: 966 assertions passed 1.51ms | |
- Crypted database: 253,277 assertions passed 124.95ms | |
- External via REST: 170,355 assertions passed 743.28ms | |
- External via virtual table: 170,355 assertions passed 1.35s | |
- External via REST with change tracking: 180,455 assertions passed 1.70s | |
Total failed: 0 / 811,006 - External database PASSED 4.03s | |
2.6. Client server access: | |
- TRestHttpServer: 2 assertions passed 2.08ms | |
using Ubuntu 5.4.0 | |
- TRestHttpClient: 4 assertions passed 10.01ms | |
using TRestHttpClientSocket | |
- HTTP client keep alive: 4,088 assertions passed 82.26ms | |
4.7 KB, first 1.73ms, done 74.71ms i.e. 13385/s, aver. 74us, 61.5 MB/s | |
- HTTP client multi connect: 4,088 assertions passed 146.31ms | |
4.7 KB, first 206us, done 139.33ms i.e. 7177/s, aver. 139us, 33 MB/s | |
- Direct in process access: 4,057 assertions passed 21.80ms | |
4.7 KB, first 39us, done 19.64ms i.e. 50893/s, aver. 19us, 234 MB/s | |
- HTTP several DB servers: 12,607 assertions passed 259.72ms | |
4.7 KB, first 257us, done 72.30ms i.e. 13831/s, aver. 72us, 63.6 MB/s | |
4.7 KB, first 233us, done 65.96ms i.e. 15160/s, aver. 65us, 69.7 MB/s | |
4.7 KB, first 258us, done 72.32ms i.e. 13827/s, aver. 72us, 63.5 MB/s | |
Total failed: 0 / 24,846 - Client server access PASSED 527.59ms | |
3. SOA | |
3.1. Bidirectional remote connection: | |
- Websockets json protocol: 60 assertions passed 63us | |
- Websockets binary protocol: 60 assertions passed 51us | |
- Websockets binary protocol encrypted: 60 assertions passed 1.11ms | |
- Websockets binary protocol compressed: 60 assertions passed 44us | |
- Websockets binary protocol compress encrypted: 60 assertions passed 1.09ms | |
- Run http server: 2 assertions passed 2.45ms | |
- Soa callback on server side: 4,580 assertions passed 3.13ms | |
- Soa callback via json websockets: 6,898 assertions passed 161.19ms | |
- Soa callback via binary websockets: 6,898 assertions passed 172.17ms | |
- Relay start: 4 assertions passed 5.68ms | |
- Relay soa callback via json websockets: 6,899 assertions passed 394.34ms | |
- Relay connection recreate: 1 assertion passed 4.07ms | |
- Relay soa callback via binary websockets: 6,899 assertions passed 718.15ms | |
- Relay shutdown: 2 assertions passed 122.81ms | |
- TRecordVersion: 20,068 assertions passed 110.45ms | |
Total failed: 0 / 52,551 - Bidirectional remote connection PASSED 1.70s | |
Generated with: Free Pascal 3.2 64 bit compiler | |
Time elapsed for all tests: 24.13s | |
Performed 2021-01-12 14:50:25 by ab on devlaptop | |
Total assertions failed for all test suits: 0 / 26,477,494 | |
! All tests passed successfully. | |
Flags: SERVER assumulthrd debug repmemleak | |
Small: blocks=5K size=467KB (part of Medium arena) | |
Medium: 8MB/87MB peak=25MB current=7 alloc=70 free=63 sleep=0 | |
Large: 0B/547MB peak=62MB current=0 alloc=508 free=508 sleep=0 | |
Total Sleep: count=34 rdtsc=4M | |
Small Sleep: getmem=0 freemem=34 | |
freemem(144)=7 freemem(176)=6 freemem(208)=4 freemem(160)=4 | |
freemem(1984)=3 freemem(48)=2 freemem(48)=2 freemem(48)=1 | |
Small Blocks since beginning: 29M/3GB | |
48=14M 64=3M 32=2M 160=1M 96=1M 128=1M 80=712K 144=552K | |
112=482K 624=411K 192=247K 176=173K 208=172K 528=160K 1376=160K 448=153K | |
Small Blocks current: 5K/467KB | |
48=3K 64=600 304=276 112=133 80=118 96=99 160=97 128=96 | |
352=82 32=59 624=27 192=26 576=19 224=14 256=13 736=11 | |
Hint: (lazarus) [TMainIDE.DoRunProjectWithoutDebug] START | |
Error: (lazarus) [TMainIDE.DoBuildProject] MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done | |
Hint: (lazarus) [TMainIDE.DoRunProjectWithoutDebug] ExeCmdLine=""/home/ab/dev/lib2/test/fpc/bin/x86_64-linux/mormot2tests"" | |
mORMot2 Regression Tests | |
-------------------------- | |
1. Core units | |
1.1. Core base: | |
- RecordCopy: 162 assertions passed 43us | |
- TRawUtf8List: 190,172 assertions passed 71.42ms | |
- TDynArray: 1,091,804 assertions passed 140.85ms | |
- TDynArrayHashed: 1,599,070 assertions passed 945.04ms | |
- TSynDictionary: 149,850 assertions passed 478.01ms | |
- TSynQueue: 6,541,501 assertions passed 308.91ms | |
- TSynNameValue: 40,032 assertions passed 14.01ms | |
- TRawUtf8Interning: 2,000,013 assertions passed 200.64ms | |
500000 interning 16 KB in 81.37ms i.e. 6,144,317/s, aver. 0us, 187.5 MB/s | |
500000 direct 15.2 MB in 27.15ms i.e. 18,410,103/s, aver. 0us, 561.8 MB/s | |
- TObjArray: 3,230 assertions passed 1.11ms | |
- Custom RTL: 77,552 assertions passed 337.31ms | |
FillCharFast [] in 14.75ms, 26.3 GB/s | |
MoveFast [] in 2.01ms, 7.7 GB/s | |
small MoveFast [] in 6.72ms, 3.2 GB/s | |
big MoveFast [] in 40.46ms, 9.6 GB/s | |
FillCharFast [cpuAVX] in 12.70ms, 30.5 GB/s | |
MoveFast [cpuAVX] in 1.60ms, 9.7 GB/s | |
small MoveFast [cpuAVX] in 6.67ms, 3.2 GB/s | |
big MoveFast [cpuAVX] in 40.96ms, 9.5 GB/s | |
- Fast string compare: 27 assertions passed 28us | |
- IdemPropName: 216 assertions passed 42us | |
- Url encoding: 152 assertions passed 1.03ms | |
- GUID: 10,019 assertions passed 4.22ms | |
- ParseCommandArguments: 232 assertions passed 51us | |
- IsMatch: 4,250 assertions passed 228us | |
- TExprParserMatch: 140 assertions passed 111us | |
- Soundex: 35 assertions passed 17us | |
- Numerical conversions: 2,549,210 assertions passed 456.40ms | |
100000 FloatToText in 78.67ms i.e. 1,271,084/s, aver. 0us, 23 MB/s | |
100000 str in 42.34ms i.e. 2,361,832/s, aver. 0us, 54 MB/s | |
100000 DoubleToShort in 13.73ms i.e. 7,281,199/s, aver. 0us, 145.9 MB/s | |
100000 DoubleToAscii in 13.30ms i.e. 7,516,536/s, aver. 0us, 152 MB/s | |
- Integers: 33,860 assertions passed 43.50ms | |
- crc32c: 320,100 assertions passed 116.24ms | |
pas 265.5 MB/s fast 1.2 GB/s sse42 5.7 GB/s sse42+aesni 7.7 GB/s | |
- Random32: 201,002 assertions passed 2.76ms | |
200000 Random32 in 2.63ms i.e. 75,987,841/s, aver. 0us, 289.8 MB/s | |
- Bloom filters: 2,010,072 assertions passed 343.51ms | |
- DeltaCompress: 87 assertions passed 12.62ms | |
- Curr 64: 20,056 assertions passed 1.82ms | |
- CamelCase: 11 assertions passed 25us | |
- Bits: 32,657 assertions passed 39.47ms | |
- Ini files: 7,028 assertions passed 39.16ms | |
- UTF8: 1,067,759 assertions passed 946.18ms | |
- Url decoding: 1,101 assertions passed 206us | |
- Baudot code: 10,007 assertions passed 45.71ms | |
- Iso 8601 date and time: 200,831 assertions passed 8.19ms | |
- Time zones: 400 assertions passed 200.27ms | |
- Mime types: 30 assertions passed 83us | |
- Quick select: 4,015 assertions passed 142.86ms | |
- TSynCache: 404 assertions passed 80us | |
- TSynFilter: 804 assertions passed 3.74ms | |
- TSynValidate: 677 assertions passed 1.07ms | |
- TSynLogFile: 43 assertions passed 522us | |
- TSynUniqueIdentifier: 1,300,002 assertions passed 438.06ms | |
200000 ComputeNew in 12.15ms i.e. 16,460,905/s, aver. 0us | |
Total failed: 0 / 19,468,613 - Core base PASSED 5.34s | |
1.2. Core process: | |
- RTTI: 1,338 assertions passed 474us | |
- Url encoding: 200 assertions passed 652us | |
- Encode decode JSON: 426,634 assertions passed 126.86ms | |
- Wiki markdown to html: 56 assertions passed 72us | |
- Variants: 97 assertions passed 53us | |
- Mustache renderer: 153 assertions passed 959us | |
- TDocVariant: 91,785 assertions passed 87.74ms | |
- TDecimal128: 17,446 assertions passed 1.75ms | |
- BSON: 245,070 assertions passed 5.39ms | |
100000 TBsonObjectID.ComputeNew in 4.77ms i.e. 20,964,360/s, aver. 0us | |
- TSelectStatement: 221 assertions passed 118us | |
- TSynMonitorUsage: 1,202 assertions passed 93us | |
Total failed: 0 / 784,202 - Core process PASSED 224.34ms | |
1.3. Core crypto: | |
- Adler32: 1 assertion passed 24us | |
- MD5: 166 assertions passed 273us | |
- SHA1: 12 assertions passed 3.46ms | |
- SHA256: 26 assertions passed 46.34ms | |
- SHA512: 27 assertions passed 30.31ms | |
- SHA3: 8,225 assertions passed 53.76ms | |
- AES256: 6,682 assertions passed 71.08ms | |
cypher 1..450 bytes with AES-NI: 109us, without: 232us | |
- AES_GCM: 212 assertions passed 53us | |
- RC4: 1,016 assertions passed 4.20ms | |
- Base64: 11,991 assertions passed 131.99ms | |
- TAesPNRG: 231,311 assertions passed 70.31ms | |
200000 Random32 in 8.33ms i.e. 23,986,567/s, aver. 0us, 91.5 MB/s | |
FillRandom in 407us, 468.6 MB/s | |
- CryptDataForCurrentUser: 5,000 assertions passed 7.43ms | |
2000 AES-CFB in 7.22ms i.e. 277,008/s, aver. 3us, 144.4 MB/s | |
- JWT: 162,739 assertions passed 329.03ms | |
1000 HS256 in 2.04ms i.e. 488,997/s, aver. 2us | |
1000 HS384 in 2.04ms i.e. 488,042/s, aver. 2us | |
1000 HS512 in 2.14ms i.e. 466,853/s, aver. 2us | |
1000 S3224 in 1.79ms i.e. 558,035/s, aver. 1us | |
1000 S3256 in 1.80ms i.e. 553,403/s, aver. 1us | |
1000 S3384 in 1.81ms i.e. 551,267/s, aver. 1us | |
1000 S3512 in 1.84ms i.e. 542,593/s, aver. 1us | |
1000 S3S128 in 1.79ms i.e. 555,864/s, aver. 1us | |
1000 S3S256 in 1.84ms i.e. 543,478/s, aver. 1us | |
100 ES256 in 126.60ms i.e. 789/s, aver. 1.26ms | |
- Benchmark: 67,500 assertions passed 527.59ms | |
2500 crc32c in 340us i.e. 7352941/s or 15.2 GB/s | |
2500 xxhash32 in 1.25ms i.e. 1988862/s or 4.1 GB/s | |
2500 hash32 in 679us i.e. 3681885/s or 7.6 GB/s | |
2500 md5 in 12.69ms i.e. 196912/s or 419 MB/s | |
2500 sha1 in 22.17ms i.e. 112729/s or 239.9 MB/s | |
2500 hmacsha1 in 24.05ms i.e. 103941/s or 221.2 MB/s | |
2500 sha256 in 26.84ms i.e. 93127/s or 198.1 MB/s | |
2500 hmacsha256 in 29.40ms i.e. 85028/s or 180.9 MB/s | |
2500 sha384 in 18.12ms i.e. 137931/s or 293.5 MB/s | |
2500 hmacsha384 in 21.31ms i.e. 117293/s or 249.6 MB/s | |
2500 sha512 in 18.56ms i.e. 134654/s or 286.5 MB/s | |
2500 hmacsha512 in 21.83ms i.e. 114505/s or 243.6 MB/s | |
2500 sha3_256 in 40.73ms i.e. 61375/s or 130.6 MB/s | |
2500 sha3_512 in 73.27ms i.e. 34118/s or 72.6 MB/s | |
2500 rc4 in 21.60ms i.e. 115724/s or 246.2 MB/s | |
2500 aes128cfb in 10.86ms i.e. 230202/s or 489.9 MB/s | |
2500 aes128ofb in 7.15ms i.e. 349454/s or 743.7 MB/s | |
2500 aes128cfbcrc in 11.82ms i.e. 211416/s or 449.9 MB/s | |
2500 aes128ofbcrc in 8.91ms i.e. 280300/s or 596.5 MB/s | |
2500 aes128gcm in 15.64ms i.e. 159836/s or 340.1 MB/s | |
2500 aes256cfb in 13.32ms i.e. 187560/s or 399.1 MB/s | |
2500 aes256ofb in 9.59ms i.e. 260579/s or 554.5 MB/s | |
2500 aes256cfbcrc in 14.32ms i.e. 174581/s or 371.5 MB/s | |
2500 aes256ofbcrc in 11.56ms i.e. 216262/s or 460.2 MB/s | |
2500 aes256gcm in 17.68ms i.e. 141330/s or 300.7 MB/s | |
2500 shake128 in 33.29ms i.e. 75081/s or 159.7 MB/s | |
2500 shake256 in 40.04ms i.e. 62429/s or 132.8 MB/s | |
Total failed: 0 / 494,908 - Core crypto PASSED 1.27s | |
1.4. Core ecc: | |
- Reference vectors: 23 assertions passed 13.20ms | |
- ecc_make_key: 200 assertions passed 171.81ms | |
- ecdsa_sign: 200 assertions passed 177.86ms | |
- ecdsa_verify: 200 assertions passed 228.03ms | |
- ecdh_shared_secret: 597 assertions passed 362.23ms | |
- Certificates and signatures: 91 assertions passed 43.66ms | |
- Ecc command line tool: 470 assertions passed 255.56ms | |
- ECDHE stream protocol: 521,295 assertions passed 597.72ms | |
Total failed: 0 / 523,076 - Core ecc PASSED 1.85s | |
1.5. Core compression: | |
- In memory compression: 21 assertions passed 375.44ms | |
- GZIP format: 30 assertions passed 228.48ms | |
- ZIP format: 66 assertions passed 575.18ms | |
- SynLZ: 23,424 assertions passed 130.93ms | |
- TAlgoCompress: 914 assertions passed 722.82ms | |
TAlgoSynLZ 3.8 MB->2.2 MB: comp 142:83MB/s decomp 133:229MB/s | |
TAlgoLizard 3.8 MB->2.1 MB: comp 24:13MB/s decomp 727:1306MB/s | |
TAlgoLizardFast 3.8 MB->2.4 MB: comp 181:116MB/s decomp 998:1556MB/s | |
TAlgoLizardHuffman 3.8 MB->2 MB: comp 64:34MB/s decomp 248:466MB/s | |
TAlgoDeflate 3.8 MB->1.7 MB: comp 15:7MB/s decomp 60:132MB/s | |
TAlgoDeflateFast 3.8 MB->1.8 MB: comp 37:17MB/s decomp 59:123MB/s | |
Total failed: 0 / 24,455 - Core compression PASSED 2.04s | |
1.6. Network protocols: | |
- Rtsp over http: 1,900 assertions passed 262.90ms | |
Total failed: 0 / 1,900 - Network protocols PASSED 262.95ms | |
2. ORM | |
2.1. Orm core: | |
- TOrm: 96 assertions passed 463us | |
- TOrmSigned: 200 assertions passed 4.47ms | |
- TOrmModel: 16 assertions passed 70us | |
- TRestServerFullMemory: 1,130,745 assertions passed 1s | |
Total failed: 0 / 1,131,057 - Orm core PASSED 1.01s | |
2.2. Sqlite file: | |
- Database direct access: 22,278 assertions passed 69.14ms | |
- Virtual table direct access: 12 assertions passed 482us | |
- TOrmTableJson: 144,083 assertions passed 80.91ms | |
- TRestClientDB: 608,198 assertions passed 934.77ms | |
- TRecordVersion: 20,060 assertions passed 61.92ms | |
Total failed: 0 / 794,631 - Sqlite file PASSED 1.14s | |
2.3. Sqlite file WAL: | |
- Database direct access: 22,278 assertions passed 72.07ms | |
- Virtual table direct access: 12 assertions passed 412us | |
- TOrmTableJson: 144,083 assertions passed 80.84ms | |
- TRestClientDB: 608,198 assertions passed 952.49ms | |
- TRecordVersion: 20,060 assertions passed 61.58ms | |
Total failed: 0 / 794,631 - Sqlite file WAL PASSED 1.16s | |
2.4. Sqlite memory: | |
- Database direct access: 22,258 assertions passed 57.66ms | |
- Virtual table direct access: 12 assertions passed 378us | |
- TOrmTableJson: 144,083 assertions passed 78.77ms | |
- TRestClientDB: 676,505 assertions passed 1.43s | |
- TRecordVersion: 20,060 assertions passed 60.85ms | |
- TOrmTableWritable: 24,056 assertions passed 3.19ms | |
- RTree: 280,024 assertions passed 1.24s | |
10000 With RTree in 646.58ms i.e. 15,465/s, aver. 64us | |
10000 With RTreeInteger in 596.66ms i.e. 16,759/s, aver. 59us | |
- Shard write: 10,602 assertions passed 141.98ms | |
- Shard read: 140,001 assertions passed 222.49ms | |
- Shard read after purge: 114,003 assertions passed 172.45ms | |
- MaxShardCount: 144,002 assertions passed 189.92ms | |
Total failed: 0 / 1,575,606 - Sqlite memory PASSED 3.60s | |
2.5. External database: | |
- SynDBRemote: 35,589 assertions passed 151.98ms | |
- DB properties persistence: 7 assertions passed 139us | |
- External records: 2 assertions passed 163us | |
- Auto adapt SQL: 966 assertions passed 1.52ms | |
- Crypted database: 253,277 assertions passed 124.67ms | |
- External via REST: 170,355 assertions passed 753.52ms | |
- External via virtual table: 170,355 assertions passed 1.34s | |
- External via REST with change tracking: 180,455 assertions passed 1.67s | |
Total failed: 0 / 811,006 - External database PASSED 4.05s | |
2.6. Client server access: | |
- TRestHttpServer: 2 assertions passed 2.10ms | |
using Ubuntu 5.4.0 | |
- TRestHttpClient: 4 assertions passed 11.98ms | |
using TRestHttpClientSocket | |
- HTTP client keep alive: 4,088 assertions passed 76.92ms | |
4.7 KB, first 1.59ms, done 70.45ms i.e. 14194/s, aver. 70us, 65.2 MB/s | |
- HTTP client multi connect: 4,088 assertions passed 147.89ms | |
4.7 KB, first 213us, done 140.80ms i.e. 7102/s, aver. 140us, 32.6 MB/s | |
- Direct in process access: 4,057 assertions passed 22.60ms | |
4.7 KB, first 42us, done 20.44ms i.e. 48916/s, aver. 20us, 224.9 MB/s | |
- HTTP several DB servers: 12,607 assertions passed 265.46ms | |
4.7 KB, first 293us, done 71.21ms i.e. 14042/s, aver. 71us, 64.5 MB/s | |
4.7 KB, first 260us, done 74.29ms i.e. 13459/s, aver. 74us, 61.9 MB/s | |
4.7 KB, first 304us, done 70.68ms i.e. 14146/s, aver. 70us, 65 MB/s | |
Total failed: 0 / 24,846 - Client server access PASSED 532.35ms | |
3. SOA | |
3.1. Bidirectional remote connection: | |
- Websockets json protocol: 60 assertions passed 52us | |
- Websockets binary protocol: 60 assertions passed 40us | |
- Websockets binary protocol encrypted: 60 assertions passed 1.12ms | |
- Websockets binary protocol compressed: 60 assertions passed 37us | |
- Websockets binary protocol compress encrypted: 60 assertions passed 1.09ms | |
- Run http server: 2 assertions passed 2.55ms | |
- Soa callback on server side: 4,580 assertions passed 2.63ms | |
- Soa callback via json websockets: 6,898 assertions passed 169.36ms | |
- Soa callback via binary websockets: 6,898 assertions passed 171.99ms | |
- Relay start: 4 assertions passed 5.83ms | |
- Relay soa callback via json websockets: 6,899 assertions passed 391.25ms | |
- Relay connection recreate: 1 assertion passed 2.81ms | |
- Relay soa callback via binary websockets: 6,899 assertions passed 398.98ms | |
- Relay shutdown: 2 assertions passed 222.70ms | |
- TRecordVersion: 20,068 assertions passed 101.21ms | |
Total failed: 0 / 52,551 - Bidirectional remote connection PASSED 1.47s | |
Generated with: Free Pascal 3.2 64 bit compiler | |
Time elapsed for all tests: 24s | |
Performed 2021-01-12 14:52:08 by ab on devlaptop | |
Total assertions failed for all test suits: 0 / 26,481,482 | |
! All tests passed successfully. | |
Flags: SERVER assumulthrd debug repmemleak | |
Small: blocks=5K size=467KB (part of Medium arena) | |
Medium: 8MB/91MB peak=25MB current=7 alloc=73 free=66 sleep=1 | |
Large: 0B/530MB peak=62MB current=0 alloc=470 free=470 sleep=0 | |
Total Sleep: count=39 rdtsc=4M | |
Small Sleep: getmem=0 freemem=38 | |
freemem(176)=8 freemem(208)=8 freemem(192)=5 freemem(2176)=4 | |
freemem(160)=4 freemem(1984)=3 freemem(224)=3 freemem(48)=1 | |
Small Blocks since beginning: 29M/3GB | |
48=14M 64=3M 32=2M 160=1M 96=1M 128=1M 80=712K 144=552K | |
112=482K 624=411K 192=247K 176=173K 208=172K 528=161K 1376=160K 448=153K | |
Small Blocks current: 5K/467KB | |
48=3K 64=600 304=276 112=133 80=118 96=99 160=97 128=96 | |
352=82 32=59 624=27 192=26 576=19 224=14 256=13 736=11 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment