Skip to content

Instantly share code, notes, and snippets.

@synopse
Created August 6, 2021 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save synopse/256190aa6d8e14f41a9d45ed99f07da6 to your computer and use it in GitHub Desktop.
Save synopse/256190aa6d8e14f41a9d45ed99f07da6 to your computer and use it in GitHub Desktop.
mORMot 2 Tests on Oracle Cloud Ampere AARCH64 Server
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- RecordCopy: 743 assertions passed 209us
- TRawUtf8List: 190,172 assertions passed 79.06ms
- TDynArray: 1,091,804 assertions passed 196.10ms
- TDynArrayHashed: 1,599,070 assertions passed 847.16ms
- TSynDictionary: 283,050 assertions passed 623.95ms
- TSynQueue: 6,541,501 assertions passed 254ms
- TSynNameValue: 40,032 assertions passed 10.17ms
- TRawUtf8Interning: 2,000,013 assertions passed 155.39ms
500000 interning 16 KB in 36.84ms i.e. 12.9M/s, aver. 0us, 414.1 MB/s
500000 direct 15.2 MB in 26.96ms i.e. 17.6M/s, aver. 0us, 565.9 MB/s
- TObjArray: 3,230 assertions passed 3.13ms
- Custom RTL: 77,552 assertions passed 674.18ms
FillChar in 36.12ms, 10.7 GB/s
Move in 11.63ms, 1.3 GB/s
small Move in 20.19ms, 1 GB/s
big Move in 258.88ms, 1.5 GB/s
FillCharFast in 8.85ms, 43.8 GB/s
MoveFast in 1.37ms, 11.3 GB/s
small MoveFast in 4.98ms, 4.3 GB/s
big MoveFast in 35.19ms, 11 GB/s
- Fast string compare: 41 assertions passed 228us
- IdemPropName: 228 assertions passed 507us
- Url encoding: 167 assertions passed 847us
- GUID: 10,019 assertions passed 4.86ms
- ParseCommandArguments: 232 assertions passed 111us
- IsMatch: 4,250 assertions passed 494us
- TExprParserMatch: 140 assertions passed 336us
- Soundex: 35 assertions passed 15us
- Numerical conversions: 2,546,884 assertions passed 382.97ms
100000 FloatToText in 49.89ms i.e. 1.9M/s, aver. 0us, 36.3 MB/s
100000 str in 18.78ms i.e. 5M/s, aver. 0us, 121.8 MB/s
100000 DoubleToShort in 12.28ms i.e. 7.7M/s, aver. 0us, 163.1 MB/s
100000 DoubleToAscii in 11.65ms i.e. 8.1M/s, aver. 0us, 173.6 MB/s
- Integers: 144,965 assertions passed 35.07ms
- crc32c: 100,074 assertions passed 71.08ms
pas 400.3 MB/s fast 845.7 MB/s
- Random32: 221,003 assertions passed 3.20ms
240000 Random32 in 3.13ms i.e. 72.9M/s, aver. 0us, 291.9 MB/s
- Bloom filters: 2,010,072 assertions passed 167.83ms
- DeltaCompress: 87 assertions passed 4.33ms
- Curr 64: 20,056 assertions passed 1.60ms
- CamelCase: 11 assertions passed 19us
- Bits: 15,567 assertions passed 23.14ms
- Ini files: 7,028 assertions passed 32.91ms
- UTF8: 1,382,088 assertions passed 930.82ms
- Url decoding: 1,101 assertions passed 320us
- Mime types: 438 assertions passed 1ms
- Baudot code: 10,007 assertions passed 34.39ms
- Iso 8601 date and time: 200,831 assertions passed 8.30ms
- Time zones: 449 assertions passed 200.22ms
- Quick select: 4,015 assertions passed 81.97ms
- TSynCache: 404 assertions passed 83us
- TSynFilter: 804 assertions passed 1.56ms
- TSynValidate: 677 assertions passed 450us
- TSynLogFile: 43 assertions passed 358us
- TSynUniqueIdentifier: 1,300,002 assertions passed 400.66ms
200000 ComputeNew in 9.69ms i.e. 19.6M/s, aver. 0us
Total failed: 0 / 19,808,885 - Core base PASSED 5.23s
1.2. Core process:
- RTTI: 1,338 assertions passed 914us
- Url encoding: 200 assertions passed 351us
- Encode decode JSON: 427,026 assertions passed 112.74ms
- JSON benchmark: 100,355 assertions passed 1.37s
StrLen() in 1.40ms, 13.5 GB/s
IsValidUtf8(RawUtf8) in 11.73ms, 1.6 GB/s
IsValidUtf8(PUtf8Char) in 11.81ms, 1.6 GB/s
IsValidJson(RawUtf8) in 30.18ms, 649.4 MB/s
IsValidJson(PUtf8Char) in 30.26ms, 647.7 MB/s
JsonArrayCount(P) in 30.01ms, 653 MB/s
JsonArrayCount(P,PMax) in 30.24ms, 648.2 MB/s
JsonObjectPropCount() in 16.70ms, 679.2 MB/s
TDocVariant in 256.99ms, 76.2 MB/s
TDocVariant no guess in 267.40ms, 73.3 MB/s
TDocVariant dvoInternNames in 257.09ms, 76.2 MB/s
TOrmTableJson GetJsonValues in 33.21ms, 259.5 MB/s
TOrmTableJson expanded in 35.48ms, 552.4 MB/s
TOrmTableJson not expanded in 22.27ms, 387 MB/s
DynArrayLoadJson in 82.32ms, 238.1 MB/s
TOrmPeopleObjArray in 133.39ms, 146.9 MB/s
fpjson in 116.16ms, 16.8 MB/s
- Wiki markdown to html: 56 assertions passed 297us
- Variants: 108 assertions passed 55us
- Mustache renderer: 166 assertions passed 933us
- TDocVariant: 91,830 assertions passed 102.23ms
- TDecimal128: 17,446 assertions passed 1.74ms
- BSON: 245,070 assertions passed 4.28ms
100000 TBsonObjectID.ComputeNew in 3.53ms i.e. 26.9M/s, aver. 0us
- TSelectStatement: 229 assertions passed 327us
- TSynMonitorUsage: 1,202 assertions passed 77us
Total failed: 0 / 885,026 - Core process PASSED 1.59s
1.3. Core collections:
- IList: 6,920,086 assertions passed 887.07ms
400000 IList<Byte> in 6.26ms i.e. 60.8M/s, aver. 0us
400000 IList<Word> in 6.22ms i.e. 61.2M/s, aver. 0us
400000 IList<Integer> in 6.75ms i.e. 56.4M/s, aver. 0us
400000 IList<Cardinal> in 6.75ms i.e. 56.4M/s, aver. 0us
400000 IList<Int64> in 8.18ms i.e. 46.6M/s, aver. 0us
400000 IList<QWord> in 8.15ms i.e. 46.8M/s, aver. 0us
400000 IList<Single> in 6.31ms i.e. 60.4M/s, aver. 0us
400000 IList<Double> in 6.24ms i.e. 61.1M/s, aver. 0us
400000 IList<TDateTime> in 6.23ms i.e. 61.1M/s, aver. 0us
400000 IList<UTF8String> in 27.39ms i.e. 13.9M/s, aver. 0us
400000 IList<UnicodeString> in 27.99ms i.e. 13.6M/s, aver. 0us
400000 IList<Variant> in 23.91ms i.e. 15.9M/s, aver. 0us
400000 IList<THash128> in 13.10ms i.e. 29.1M/s, aver. 0us
400000 IList<TGuid> in 13.52ms i.e. 28.2M/s, aver. 0us
Total failed: 0 / 6,920,086 - Core collections PASSED 887.12ms
1.4. Core crypto:
- MD5: 166 assertions passed 261us
- SHA1: 8 assertions passed 3.45ms
- SHA256: 20 assertions passed 18.10ms
- SHA512: 32 assertions passed 38.53ms
- SHA3: 8,225 assertions passed 38.08ms
- AES: 72,700 assertions passed 176.05ms
- AES_GCM: 215 assertions passed 66us
- RC4: 1,016 assertions passed 1.58ms
- Hashes: 21 assertions passed 314.65ms
- Base64: 12,064 assertions passed 23.09ms
- CompressShaAes: 1,683 assertions passed 1.90ms
- TAesPNRG: 262,624 assertions passed 226.39ms
100000 mORMot Random32 in 2.99ms i.e. 31.8M/s, aver. 0us, 127.4 MB/s
mORMot FillRandom in 88us, 1 GB/s
100000 OpenSSL Random32 in 126.93ms i.e. 769.3K/s, aver. 1us, 3 MB/s
OpenSSL FillRandom in 117us, 815.1 MB/s
- CryptDataForCurrentUser: 5,000 assertions passed 4.57ms
2000 AES-CFB in 4.46ms i.e. 437.5K/s, aver. 2us, 233.5 MB/s
- JWT: 164,914 assertions passed 1.54s
1000 HS256 in 1.06ms i.e. 921.2K/s, aver. 1us
1000 HS384 in 2.71ms i.e. 359.5K/s, aver. 2us
1000 HS512 in 2.75ms i.e. 354.3K/s, aver. 2us
1000 S3224 in 1.74ms i.e. 560.2K/s, aver. 1us
1000 S3256 in 1.71ms i.e. 568.7K/s, aver. 1us
1000 S3384 in 1.69ms i.e. 577.5K/s, aver. 1us
1000 S3512 in 1.71ms i.e. 568K/s, aver. 1us
1000 S3S128 in 1.67ms i.e. 581.9K/s, aver. 1us
1000 S3S256 in 1.72ms i.e. 567.7K/s, aver. 1us
100 ES256 in 18.86ms i.e. 5.1K/s, aver. 188us
100 RS256 in 9.96ms i.e. 9.7K/s, aver. 99us
100 RS384 in 9.94ms i.e. 9.8K/s, aver. 99us
100 RS512 in 9.98ms i.e. 9.7K/s, aver. 99us
100 PS256 in 9.94ms i.e. 9.8K/s, aver. 99us
100 PS384 in 10.15ms i.e. 9.6K/s, aver. 101us
100 PS512 in 10.09ms i.e. 9.6K/s, aver. 100us
100 ES256 in 17.72ms i.e. 5.5K/s, aver. 177us
100 ES384 in 147.82ms i.e. 676/s, aver. 1.47ms
100 ES512 in 381.24ms i.e. 262/s, aver. 3.81ms
100 ES256K in 59.04ms i.e. 1.6K/s, aver. 590us
100 EdDSA in 12.56ms i.e. 7.7K/s, aver. 125us
- TBinaryCookieGenerator: 82,944 assertions passed 8.46ms
16384 generate in 3.01ms i.e. 5.1M/s, aver. 0us
16384 validate in 1.54ms i.e. 10.1M/s, aver. 0us
- Catalog: 210 assertions passed 504us
- Benchmark: 107,500 assertions passed 505.60ms
2500 crc32c in 260us i.e. 9.1M/s or 19.9 GB/s
2500 xxhash32 in 1.47ms i.e. 1.6M/s or 3.5 GB/s
2500 crc32 in 541us i.e. 4.4M/s or 9.6 GB/s
2500 adler32 in 470us i.e. 5M/s or 11 GB/s
2500 hash32 in 587us i.e. 4M/s or 8.8 GB/s
2500 md5 in 12.12ms i.e. 201.3K/s or 438.7 MB/s
2500 sha1 in 21.54ms i.e. 113.3K/s or 246.9 MB/s
2500 hmacsha1 in 23.73ms i.e. 102.8K/s or 224.1 MB/s
2500 sha256 in 3.41ms i.e. 714.7K/s or 1.5 GB/s
2500 hmacsha256 in 4.12ms i.e. 591.7K/s or 1.2 GB/s
2500 sha384 in 27.82ms i.e. 87.7K/s or 191.2 MB/s
2500 hmacsha384 in 32.69ms i.e. 74.6K/s or 162.7 MB/s
2500 sha512 in 27.70ms i.e. 88.1K/s or 192 MB/s
2500 hmacsha512 in 32.71ms i.e. 74.6K/s or 162.6 MB/s
2500 sha3_256 in 35.92ms i.e. 67.9K/s or 148.1 MB/s
2500 sha3_512 in 65.58ms i.e. 37.2K/s or 81.1 MB/s
2500 rc4 in 12.98ms i.e. 188K/s or 409.8 MB/s
2500 mormot aes-128-cfb in 8.43ms i.e. 289.5K/s or 631 MB/s
2500 mormot aes-128-ofb in 3.78ms i.e. 645.5K/s or 1.3 GB/s
2500 mormot aes-128-c64 in 4.38ms i.e. 557.1K/s or 1.1 GB/s
2500 mormot aes-128-ctr in 4.53ms i.e. 538.4K/s or 1.1 GB/s
2500 mormot aes-128-cfc in 9.40ms i.e. 259.4K/s or 565.4 MB/s
2500 mormot aes-128-ofc in 5.29ms i.e. 461K/s or 0.9 GB/s
2500 mormot aes-128-ctc in 5.80ms i.e. 420.8K/s or 917.1 MB/s
2500 mormot aes-128-gcm in 7.60ms i.e. 321.1K/s or 699.7 MB/s
2500 mormot aes-256-cfb in 9.44ms i.e. 258.6K/s or 563.6 MB/s
2500 mormot aes-256-ofb in 4.71ms i.e. 517.7K/s or 1.1 GB/s
2500 mormot aes-256-c64 in 5.30ms i.e. 460.2K/s or 0.9 GB/s
2500 mormot aes-256-ctr in 5.34ms i.e. 457.1K/s or 0.9 GB/s
2500 mormot aes-256-cfc in 10.27ms i.e. 237.7K/s or 518 MB/s
2500 mormot aes-256-ofc in 6.02ms i.e. 405.2K/s or 883.2 MB/s
2500 mormot aes-256-ctc in 6.75ms i.e. 361.3K/s or 787.4 MB/s
2500 mormot aes-256-gcm in 8.21ms i.e. 297.3K/s or 648 MB/s
2500 openssl aes-128-cfb in 4.95ms i.e. 492.3K/s or 1 GB/s
2500 openssl aes-128-ofb in 4.14ms i.e. 588.4K/s or 1.2 GB/s
2500 openssl aes-128-ctr in 1.95ms i.e. 1.2M/s or 2.6 GB/s
2500 openssl aes-128-gcm in 3.20ms i.e. 762.4K/s or 1.6 GB/s
2500 openssl aes-256-cfb in 5.89ms i.e. 414.3K/s or 903 MB/s
2500 openssl aes-256-ofb in 5.06ms i.e. 482.2K/s or 1 GB/s
2500 openssl aes-256-ctr in 2.44ms i.e. 0.9M/s or 2.1 GB/s
2500 openssl aes-256-gcm in 3.67ms i.e. 664.8K/s or 1.4 GB/s
2500 shake128 in 29.75ms i.e. 82K/s or 178.8 MB/s
2500 shake256 in 35.19ms i.e. 69.3K/s or 151.1 MB/s
Total failed: 0 / 719,342 - Core crypto PASSED 2.91s
1.5. Core ecc:
- Reference vectors: 23 assertions passed 7.07ms
- ECC: 1,803 assertions passed 173.53ms
300 Ecc256r1MakeKey in 8.60ms i.e. 34K/s, aver. 28us
300 Ecc256r1Sign in 13.80ms i.e. 21.2K/s, aver. 46us
300 Ecc256r1Verify in 56.05ms i.e. 5.2K/s, aver. 186us
598 Ecc256r1SharedSecret in 90.61ms i.e. 6.4K/s, aver. 151us
- Certificates and signatures: 91 assertions passed 7.05ms
- Ecc command line tool: 704 assertions passed 74.43ms
- ECDHE stream protocol: 63,393 assertions passed 463.56ms
100 efAesCrc128 in 3.41ms i.e. 28.5K/s, aver. 34us, 539.9 MB/s
100 efAesCfb128 in 1.56ms i.e. 62.2K/s, aver. 15us, 1.1 GB/s
100 efAesOfb128 in 1.60ms i.e. 60.7K/s, aver. 16us, 1.1 GB/s
100 efAesCtr128 in 789us i.e. 123.7K/s, aver. 7us, 2.2 GB/s
100 efAesCbc128 in 1ms i.e. 96.7K/s, aver. 10us, 1.7 GB/s
100 efAesCrc256 in 3.71ms i.e. 26.3K/s, aver. 37us, 496.7 MB/s
100 efAesCfb256 in 1.84ms i.e. 52.9K/s, aver. 18us, 0.9 GB/s
100 efAesOfb256 in 1.93ms i.e. 50.5K/s, aver. 19us, 0.9 GB/s
100 efAesCtr256 in 947us i.e. 103.1K/s, aver. 9us, 1.9 GB/s
100 efAesCbc256 in 1.19ms i.e. 81.5K/s, aver. 11us, 1.5 GB/s
100 efAesGcm128 in 972us i.e. 100.4K/s, aver. 9us, 1.8 GB/s
100 efAesGcm256 in 1.13ms i.e. 85.8K/s, aver. 11us, 1.5 GB/s
100 efAesCtc128 in 1.94ms i.e. 50.2K/s, aver. 19us, 0.9 GB/s
100 efAesCtc256 in 2.29ms i.e. 42.6K/s, aver. 22us, 804.4 MB/s
- OpenSSL: 532 assertions passed 725.01ms
3 RSA 2048 Generation in 221.04ms i.e. 13/s, aver. 73.68ms
30 RSA 2048 Sign in 108.75ms i.e. 275/s, aver. 3.62ms
30 RSA 2048 Verify in 2.93ms i.e. 10K/s, aver. 97us
3 RSA-PSS 2048 Generation in 218.92ms i.e. 13/s, aver. 72.97ms
30 RSA-PSS 2048 Sign in 108.80ms i.e. 275/s, aver. 3.62ms
30 RSA-PSS 2048 Verify in 2.92ms i.e. 10K/s, aver. 97us
100 prime256v1 Generation in 8.34ms i.e. 11.7K/s, aver. 83us
100 prime256v1 Sign in 7ms i.e. 13.9K/s, aver. 70us
100 prime256v1 Verify in 17.50ms i.e. 5.5K/s, aver. 175us
100 ed25519 Generation in 5.55ms i.e. 17.5K/s, aver. 55us
100 ed25519 Sign in 10.05ms i.e. 9.7K/s, aver. 100us
100 ed25519 Verify in 12.59ms i.e. 7.7K/s, aver. 125us
Total failed: 0 / 66,546 - Core ecc PASSED 1.45s
1.6. Core compression:
- In memory compression: 21 assertions passed 396.22ms
- GZIP format: 30 assertions passed 112.24ms
- ZIP format: 856 assertions passed 1.43s
- SynLZ: 14,141 assertions passed 74.45ms
- TAlgoCompress: 458 assertions passed 280.51ms
TAlgoSynLZ 3.8 MB->1.9 MB: comp 288:144MB/s decomp 217:434MB/s
TAlgoDeflate 3.8 MB->1.4 MB: comp 31:12MB/s decomp 78:205MB/s
TAlgoDeflateFast 3.8 MB->1.5 MB: comp 49:19MB/s decomp 73:184MB/s
Total failed: 0 / 15,506 - Core compression PASSED 2.30s
1.7. Network protocols:
- Rtsp over http: 1,900 assertions passed 1.22s
Total failed: 0 / 1,900 - Network protocols PASSED 1.22s
2. ORM
2.1. Orm core:
- TOrm: 93 assertions passed 1.24ms
- TOrmSigned: 200 assertions passed 584us
- TOrmModel: 16 assertions passed 28us
- TRestServerFullMemory: 1,130,745 assertions passed 882.25ms
Total failed: 0 / 1,131,054 - Orm core PASSED 884.18ms
2.2. Sqlite file:
- Database direct access: 22,284 assertions passed 70.52ms
- Virtual table direct access: 12 assertions passed 1.35ms
- TOrmTableJson: 144,083 assertions passed 61.31ms
- TRestClientDB: 608,198 assertions passed 814.71ms
- Regexp function: 6,015 assertions passed 11.10ms
- TRecordVersion: 20,060 assertions passed 51.79ms
Total failed: 0 / 800,652 - Sqlite file PASSED 1.01s
2.3. Sqlite file WAL:
- Database direct access: 22,284 assertions passed 64.88ms
- Virtual table direct access: 12 assertions passed 520us
- TOrmTableJson: 144,083 assertions passed 62.27ms
- TRestClientDB: 608,198 assertions passed 819.87ms
- Regexp function: 6,015 assertions passed 11.21ms
- TRecordVersion: 20,060 assertions passed 51.57ms
Total failed: 0 / 800,652 - Sqlite file WAL PASSED 1.01s
2.4. Sqlite file memory map:
- Database direct access: 22,264 assertions passed 56.06ms
- Virtual table direct access: 12 assertions passed 495us
- TOrmTableJson: 144,083 assertions passed 61.47ms
- TRestClientDB: 608,196 assertions passed 811.25ms
- Regexp function: 6,015 assertions passed 11.06ms
- TRecordVersion: 20,060 assertions passed 51.71ms
Total failed: 0 / 800,630 - Sqlite file memory map PASSED 992.10ms
2.5. Sqlite memory:
- Database direct access: 22,264 assertions passed 54.08ms
- Virtual table direct access: 12 assertions passed 325us
- TOrmTableJson: 144,083 assertions passed 59.80ms
- TRestClientDB: 676,505 assertions passed 1.29s
- Regexp function: 6,015 assertions passed 11.13ms
- TRecordVersion: 20,060 assertions passed 51.94ms
- TOrmTableWritable: 24,056 assertions passed 3.34ms
- RTree: 280,024 assertions passed 1.04s
10000 With RTree in 530.76ms i.e. 18.4K/s, aver. 53us
10000 With RTreeInteger in 511.94ms i.e. 19K/s, aver. 51us
- Shard write: 10,602 assertions passed 118.02ms
- Shard read: 140,001 assertions passed 193.24ms
- Shard read after purge: 114,003 assertions passed 153.75ms
- MaxShardCount: 144,002 assertions passed 166.74ms
Total failed: 0 / 1,581,627 - Sqlite memory PASSED 3.15s
2.6. External database:
- SynDBRemote: 35,589 assertions passed 222.33ms
- DB properties persistence: 7 assertions passed 161us
- External records: 2 assertions passed 165us
- Auto adapt SQL: 1,041 assertions passed 2.02ms
- Crypted database: 253,277 assertions passed 110.51ms
- External via REST: 170,355 assertions passed 623.99ms
- External via virtual table: 170,355 assertions passed 954.31ms
- External via REST with change tracking: 180,455 assertions passed 1.25s
Total failed: 0 / 811,081 - External database PASSED 3.16s
2.7. Client server access:
- TRestHttpServer: 2 assertions passed 1.96ms
using Ubuntu 5.8.0 epoll
- TRestHttpClient: 4 assertions passed 10.14ms
using TRestHttpClientSocket
- HTTP client keep alive: 4,088 assertions passed 77.51ms
4.7 KB, first 1.44ms, done 71.90ms i.e. 13908/s, aver. 71us, 63.9 MB/s
- HTTP client multi connect: 4,088 assertions passed 116.52ms
4.7 KB, first 562us, done 107.67ms i.e. 9287/s, aver. 107us, 42.7 MB/s
- HTTP client encrypted: 4,088 assertions passed 74.41ms
4.7 KB, first 388us, done 68.92ms i.e. 14509/s, aver. 68us, 66.7 MB/s
- Direct in process access: 4,057 assertions passed 19.81ms
4.7 KB, first 43us, done 17.60ms i.e. 56795/s, aver. 17us, 261.2 MB/s
- HTTP several DB servers: 12,607 assertions passed 219.02ms
4.7 KB, first 241us, done 58.27ms i.e. 17161/s, aver. 58us, 78.9 MB/s
4.7 KB, first 272us, done 58.98ms i.e. 16954/s, aver. 58us, 77.9 MB/s
4.7 KB, first 284us, done 58.47ms i.e. 17102/s, aver. 58us, 78.6 MB/s
Total failed: 0 / 28,934 - Client server access PASSED 526.09ms
2.8. Multi thread process:
- Create thread pool: 1 assertion passed 2.68ms
- TRestServerDB: 7,298 assertions passed 103.77ms
1=40567/s 2=36500/s 5=31767/s 10=33202/s 30=37636/s 50=37021/s
- TRestClientDB: 7,296 assertions passed 199.67ms
1=52356/s 2=14109/s 5=16287/s 10=15250/s 30=20347/s 50=16377/s
- TCP sockets: 7,301 assertions passed 345.22ms
1=10132/s 2=9742/s 5=12253/s 10=12858/s 30=11970/s 50=8976/s
- Unix domain sockets: 7,291 assertions passed 309.36ms
1=17231/s 2=8789/s 5=14634/s 10=13584/s 30=13470/s 50=10733/s
- Websockets: 3,609 assertions passed 296.34ms
1=8361/s 2=4828/s 5=6677/s
- libcurl: 7,302 assertions passed 922.31ms
1=9493/s 2=11524/s 5=9486/s 10=3128/s 30=2899/s 50=2475/s
- Locked: 7,301 assertions passed 220.25ms
1=35710/s 2=12140/s 5=13959/s 10=14367/s 30=19793/s 50=16862/s
- Unlocked: 7,298 assertions passed 213.70ms
1=53380/s 2=11880/s 5=11705/s 10=14117/s 30=22556/s 50=21266/s
- Main thread: 7,302 assertions passed 99.81ms
1=31537/s 2=47273/s 5=46375/s 10=30734/s 30=38955/s 50=35637/s
- Background thread: 7,301 assertions passed 189.11ms
1=23798/s 2=25799/s 5=19165/s 10=24222/s 30=17747/s 50=12682/s
Total failed: 0 / 69,300 - Multi thread process PASSED 3.05s
3. SOA
3.1. Service oriented architecture:
- Weak interfaces: 56 assertions passed 207us
- Service initialization: 268 assertions passed 3.14ms
- Direct call: 596,049 assertions passed 18.21ms
- Server side: 596,069 assertions passed 19.01ms
- Client side REST: 794,759 assertions passed 589.17ms
- Client side REST as json object: 794,753 assertions passed 617.18ms
- Client side REST sessions stats: 794,753 assertions passed 655.57ms
- Client side REST locked: 794,757 assertions passed 592.75ms
- Client side REST main thread: 794,757 assertions passed 2.92s
- Client side REST background thread: 794,757 assertions passed 2.23s
- Client side REST sign with crc 32c: 794,753 assertions passed 591.66ms
- Client side REST sign with xxhash: 794,753 assertions passed 590.89ms
- Client side REST sign with md 5: 794,753 assertions passed 616.89ms
- Client side REST sign with sha 256: 794,753 assertions passed 611.27ms
- Client side REST sign with sha 512: 794,753 assertions passed 691.39ms
- Client side REST weak authentication: 794,753 assertions passed 568.90ms
- Client side REST basic authentication: 794,753 assertions passed 750.59ms
- Client side REST custom record layout: 794,753 assertions passed 624.10ms
- Client side REST service log to DB: 794,753 assertions passed 797.13ms
- Client side json RPC: 794,753 assertions passed 636.78ms
- Test over HTTP: 10,482 assertions passed 135.23ms
- Security: 139 assertions passed 1.24ms
- Mocks and stubs: 30,030 assertions passed 38.79ms
Total failed: 0 / 13,949,159 - Service oriented architecture PASSED 14.31s
3.2. Bidirectional remote connection:
- Websockets protocols: 30,000 assertions passed 8.57ms
- Run http server: 2 assertions passed 2.81ms
- Soa callback on server side: 4,580 assertions passed 1.80ms
- Soa callback via json websockets: 6,898 assertions passed 234.89ms
- Soa callback via binary websockets: 6,898 assertions passed 256.03ms
- Relay start: 4 assertions passed 6.47ms
- Relay soa callback via json websockets: 6,899 assertions passed 635.63ms
- Relay connection recreate: 1 assertion passed 2.93ms
- Relay soa callback via binary websockets: 6,899 assertions passed 782.43ms
- Relay shutdown: 2 assertions passed 115.93ms
- TRecordVersion: 20,068 assertions passed 89.66ms
Total failed: 0 / 82,251 - Bidirectional remote connection PASSED 2.14s
Ubuntu 20.04.2 LTS - Linux 5.8.0-1037-oracle (cp65001)
2 x ARM Neoverse-N1 (arm64)
on KVM Virtual Machine virt-4.2
Using mORMot 2.0.1
TSqlite3LibraryStatic 3.36.0 with internal MM
Generated with: Free Pascal 3.2 64 bit Linux compiler
Time elapsed for all tests: 45.86s
Performed 2021-08-06 13:30:06 by rdp on lxde
Total assertions failed for all test suits: 0 / 48,472,631
! All tests passed successfully.
rdp@lxde:~/dev/mORMot2/test/fpc/bin/aarch64-linux$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment