Skip to content

Instantly share code, notes, and snippets.

@synopse
Created August 3, 2021 13:27
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/60fe59d4072bd3e152f51db5d6294c39 to your computer and use it in GitHub Desktop.
Save synopse/60fe59d4072bd3e152f51db5d6294c39 to your computer and use it in GitHub Desktop.
Oracle Ampere tests 1
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- RecordCopy: 743 assertions passed 523us
- TRawUtf8List: 190,172 assertions passed 110.96ms
- TDynArray: 1,091,804 assertions passed 203.23ms
- TDynArrayHashed: 1,599,070 assertions passed 1.07s
- TSynDictionary: 283,050 assertions passed 614.25ms
- TSynQueue: 6,541,501 assertions passed 263.50ms
- TSynNameValue: 40,032 assertions passed 11.59ms
- TRawUtf8Interning: 2,000,013 assertions passed 168.47ms
500000 interning 16 KB in 45.23ms i.e. 10.5M/s, aver. 0us, 337.3 MB/s
500000 direct 15.2 MB in 26.65ms i.e. 17.8M/s, aver. 0us, 572.5 MB/s
- TObjArray: 3,230 assertions passed 2.75ms
- Fast string compare: 41 assertions passed 15us
- IdemPropName: 228 assertions passed 231us
- Url encoding: 167 assertions passed 642us
- GUID: 10,019 assertions passed 4.89ms
- ParseCommandArguments: 232 assertions passed 33us
- IsMatch: 4,250 assertions passed 453us
- TExprParserMatch: 140 assertions passed 95us
- Soundex: 35 assertions passed 24us
- Numerical conversions: 2,542,532 assertions passed 382.79ms
100000 FloatToText in 49.40ms i.e. 1.9M/s, aver. 0us, 36.7 MB/s
100000 str in 18.63ms i.e. 5.1M/s, aver. 0us, 122.8 MB/s
100000 DoubleToShort in 12.33ms i.e. 7.7M/s, aver. 0us, 162.5 MB/s
100000 DoubleToAscii in 11.68ms i.e. 8.1M/s, aver. 0us, 173.2 MB/s
- Integers: 144,965 assertions passed 34.94ms
- crc32c: 100,072 assertions passed 85.97ms
pas 399.9 MB/s fast 846.7 MB/s
- Random32: 221,003 assertions passed 3.21ms
240000 Random32 in 3.14ms i.e. 72.8M/s, aver. 0us, 291.5 MB/s
- Bloom filters: 2,010,072 assertions passed 182.29ms
- DeltaCompress: 87 assertions passed 6.81ms
- Curr 64: 20,056 assertions passed 1.61ms
- CamelCase: 11 assertions passed 22us
- Bits: 15,567 assertions passed 23.81ms
- Ini files: 7,028 assertions passed 32.11ms
- UTF8: 1,382,084 assertions passed 939.94ms
- Url decoding: 1,101 assertions passed 465us
- Mime types: 438 assertions passed 1.46ms
- Baudot code: 10,007 assertions passed 33.85ms
- Iso 8601 date and time: 200,831 assertions passed 8.30ms
- Time zones: 449 assertions passed 200.24ms
- Quick select: 4,015 assertions passed 84.84ms
- TSynCache: 404 assertions passed 178us
- TSynFilter: 804 assertions passed 1.56ms
- TSynValidate: 677 assertions passed 450us
- TSynLogFile: 43 assertions passed 367us
- TSynUniqueIdentifier: 1,300,002 assertions passed 412.92ms
200000 ComputeNew in 10.95ms i.e. 17.4M/s, aver. 0us
Total failed: 0 / 19,726,975 - Core base PASSED 4.89s
1.2. Core process:
- RTTI: 1,338 assertions passed 1.11ms
- Url encoding: 200 assertions passed 347us
- Encode decode JSON: 426,356 assertions passed 115.10ms
- JSON benchmark: 100,355 assertions passed 1.38s
StrLen() in 8.66ms, 2.2 GB/s
IsValidUtf8(RawUtf8) in 11.16ms, 1.7 GB/s
IsValidUtf8(PUtf8Char) in 11.16ms, 1.7 GB/s
IsValidJson(RawUtf8) in 27.21ms, 720.5 MB/s
IsValidJson(PUtf8Char) in 27.28ms, 718.6 MB/s
JsonArrayCount(P) in 27.36ms, 716.5 MB/s
JsonArrayCount(P,PMax) in 27.21ms, 720.3 MB/s
JsonObjectPropCount() in 15.06ms, 753.4 MB/s
TDocVariant in 255.69ms, 76.6 MB/s
TDocVariant no guess in 268.18ms, 73.1 MB/s
TDocVariant dvoInternNames in 263.34ms, 74.4 MB/s
TOrmTableJson GetJsonValues in 41.39ms, 208.3 MB/s
TOrmTableJson expanded in 43.29ms, 452.8 MB/s
TOrmTableJson not expanded in 22.34ms, 385.9 MB/s
DynArrayLoadJson in 87.76ms, 223.3 MB/s
TOrmPeopleObjArray in 129.63ms, 151.2 MB/s
fpjson in 115.69ms, 16.9 MB/s
- Wiki markdown to html: 56 assertions passed 66us
- Variants: 108 assertions passed 310us
- Mustache renderer: 166 assertions passed 976us
- TDocVariant: 91,824 assertions passed 158.51ms
- TDecimal128: 17,446 assertions passed 1.83ms
- BSON: 245,070 assertions passed 4.05ms
100000 TBsonObjectID.ComputeNew in 3.50ms i.e. 27.2M/s, aver. 0us
- TSelectStatement: 229 assertions passed 90us
- TSynMonitorUsage: 1,202 assertions passed 81us
Total failed: 0 / 884,350 - Core process PASSED 1.67s
1.3. Core collections:
- IList: 6,920,086 assertions passed 872.26ms
400000 IList<Byte> in 5.91ms i.e. 64.5M/s, aver. 0us
400000 IList<Word> in 6.23ms i.e. 61.2M/s, aver. 0us
400000 IList<Integer> in 6.82ms i.e. 55.8M/s, aver. 0us
400000 IList<Cardinal> in 6.76ms i.e. 56.3M/s, aver. 0us
400000 IList<Int64> in 8.49ms i.e. 44.8M/s, aver. 0us
400000 IList<QWord> in 8.42ms i.e. 45.2M/s, aver. 0us
400000 IList<Single> in 6.21ms i.e. 61.3M/s, aver. 0us
400000 IList<Double> in 6.53ms i.e. 58.3M/s, aver. 0us
400000 IList<TDateTime> in 6.45ms i.e. 59M/s, aver. 0us
400000 IList<UTF8String> in 27.26ms i.e. 13.9M/s, aver. 0us
400000 IList<UnicodeString> in 27.36ms i.e. 13.9M/s, aver. 0us
400000 IList<Variant> in 23.74ms i.e. 16M/s, aver. 0us
400000 IList<THash128> in 13.89ms i.e. 27.4M/s, aver. 0us
400000 IList<TGuid> in 14.16ms i.e. 26.9M/s, aver. 0us
Total failed: 0 / 6,920,086 - Core collections PASSED 872.31ms
1.4. Core crypto:
- MD5: 166 assertions passed 253us
- SHA1: 8 assertions passed 3.97ms
- SHA256: 20 assertions passed 55.61ms
- SHA512: 32 assertions passed 37.92ms
- SHA3: 8,225 assertions passed 38.67ms
- AES: 72,700 assertions passed 839.10ms
- AES_GCM: 215 assertions passed 185us
- RC4: 1,016 assertions passed 1.55ms
- Hashes: 21 assertions passed 999.72ms
- Base64: 12,064 assertions passed 27.49ms
- CompressShaAes: 1,683 assertions passed 3.42ms
- TAesPNRG: 262,624 assertions passed 347.55ms
100000 mORMot Random32 in 14ms i.e. 6.8M/s, aver. 0us, 27.2 MB/s
mORMot FillRandom in 722us, 132 MB/s
100000 OpenSSL Random32 in 126.02ms i.e. 774.8K/s, aver. 1us, 3 MB/s
OpenSSL FillRandom in 117us, 815.1 MB/s
- CryptDataForCurrentUser: 5,000 assertions passed 22.41ms
2000 AES-CFB in 21.85ms i.e. 89.3K/s, aver. 10us, 47.7 MB/s
- JWT: 164,915 assertions passed 1.67s
1000 HS256 in 4.91ms i.e. 198.7K/s, aver. 4us
1000 HS384 in 2.79ms i.e. 350K/s, aver. 2us
1000 HS512 in 2.82ms i.e. 345.9K/s, aver. 2us
1000 S3224 in 1.77ms i.e. 549.5K/s, aver. 1us
1000 S3256 in 1.77ms i.e. 549.5K/s, aver. 1us
1000 S3384 in 1.78ms i.e. 546.4K/s, aver. 1us
1000 S3512 in 1.80ms i.e. 541.9K/s, aver. 1us
1000 S3S128 in 1.78ms i.e. 547.4K/s, aver. 1us
1000 S3S256 in 1.82ms i.e. 534.2K/s, aver. 1us
100 ES256 in 19.01ms i.e. 5.1K/s, aver. 190us
100 RS256 in 9.88ms i.e. 9.8K/s, aver. 98us
100 RS384 in 9.93ms i.e. 9.8K/s, aver. 99us
100 RS512 in 9.92ms i.e. 9.8K/s, aver. 99us
100 PS256 in 9.94ms i.e. 9.8K/s, aver. 99us
100 PS384 in 10.13ms i.e. 9.6K/s, aver. 101us
100 PS512 in 10.10ms i.e. 9.6K/s, aver. 101us
100 ES256 in 17.69ms i.e. 5.5K/s, aver. 176us
100 ES384 in 147.27ms i.e. 679/s, aver. 1.47ms
100 ES512 in 382.06ms i.e. 261/s, aver. 3.82ms
100 ES256K in 58.35ms i.e. 1.6K/s, aver. 583us
100 EdDSA in 12.80ms i.e. 7.6K/s, aver. 128us
- TBinaryCookieGenerator: 82,944 assertions passed 9.41ms
16384 generate in 3.25ms i.e. 4.8M/s, aver. 0us
16384 validate in 1.89ms i.e. 8.2M/s, aver. 0us
- Catalog: 210 assertions passed 156us
- Benchmark: 107,500 assertions passed 1.28s
2500 crc32c in 6.23ms i.e. 391.8K/s or 854 MB/s
2500 xxhash32 in 1.46ms i.e. 1.6M/s or 3.5 GB/s
2500 crc32 in 566us i.e. 4.2M/s or 9.1 GB/s
2500 adler32 in 472us i.e. 5M/s or 11 GB/s
2500 hash32 in 608us i.e. 3.9M/s or 8.5 GB/s
2500 md5 in 12.16ms i.e. 200.6K/s or 437.2 MB/s
2500 sha1 in 21.96ms i.e. 111.1K/s or 242.2 MB/s
2500 hmacsha1 in 24.23ms i.e. 100.7K/s or 219.5 MB/s
2500 sha256 in 88.06ms i.e. 27.7K/s or 60.4 MB/s
2500 hmacsha256 in 95.76ms i.e. 25.4K/s or 55.5 MB/s
2500 sha384 in 27.85ms i.e. 87.6K/s or 191 MB/s
2500 hmacsha384 in 32.95ms i.e. 74K/s or 161.4 MB/s
2500 sha512 in 27.82ms i.e. 87.7K/s or 191.2 MB/s
2500 hmacsha512 in 32.95ms i.e. 74K/s or 161.4 MB/s
2500 sha3_256 in 36ms i.e. 67.8K/s or 147.7 MB/s
2500 sha3_512 in 65.63ms i.e. 37.1K/s or 81 MB/s
2500 rc4 in 12.98ms i.e. 188K/s or 409.8 MB/s
2500 mormot aes-128-cfb in 34.35ms i.e. 71K/s or 154.8 MB/s
2500 mormot aes-128-ofb in 29.84ms i.e. 81.8K/s or 178.2 MB/s
2500 mormot aes-128-c64 in 30.75ms i.e. 79.3K/s or 173 MB/s
2500 mormot aes-128-ctr in 30.95ms i.e. 78.8K/s or 171.9 MB/s
2500 mormot aes-128-cfc in 43.08ms i.e. 56.6K/s or 123.4 MB/s
2500 mormot aes-128-ofc in 38.80ms i.e. 62.9K/s or 137.1 MB/s
2500 mormot aes-128-ctc in 39.37ms i.e. 62K/s or 135.1 MB/s
2500 mormot aes-128-gcm in 53.32ms i.e. 45.7K/s or 99.7 MB/s
2500 mormot aes-256-cfb in 45.47ms i.e. 53.6K/s or 117 MB/s
2500 mormot aes-256-ofb in 40.93ms i.e. 59.6K/s or 129.9 MB/s
2500 mormot aes-256-c64 in 41.96ms i.e. 58.1K/s or 126.7 MB/s
2500 mormot aes-256-ctr in 42ms i.e. 58.1K/s or 126.6 MB/s
2500 mormot aes-256-cfc in 54.21ms i.e. 45K/s or 98.1 MB/s
2500 mormot aes-256-ofc in 49.96ms i.e. 48.8K/s or 106.4 MB/s
2500 mormot aes-256-ctc in 50.50ms i.e. 48.3K/s or 105.3 MB/s
2500 mormot aes-256-gcm in 64.52ms i.e. 37.8K/s or 82.4 MB/s
2500 openssl aes-128-cfb in 5.51ms i.e. 442.7K/s or 0.9 GB/s
2500 openssl aes-128-ofb in 4.72ms i.e. 516.8K/s or 1.1 GB/s
2500 openssl aes-128-ctr in 2.53ms i.e. 0.9M/s or 2 GB/s
2500 openssl aes-128-gcm in 4.14ms i.e. 588.8K/s or 1.2 GB/s
2500 openssl aes-256-cfb in 6.41ms i.e. 380.7K/s or 829.7 MB/s
2500 openssl aes-256-ofb in 5.63ms i.e. 433.4K/s or 0.9 GB/s
2500 openssl aes-256-ctr in 3.02ms i.e. 807.6K/s or 1.7 GB/s
2500 openssl aes-256-gcm in 4.61ms i.e. 529.5K/s or 1.1 GB/s
2500 shake128 in 34.03ms i.e. 71.7K/s or 156.3 MB/s
2500 shake256 in 35.68ms i.e. 68.4K/s or 149.1 MB/s
Total failed: 0 / 719,343 - Core crypto PASSED 5.34s
1.5. Core ecc:
- Reference vectors: 23 assertions passed 7.08ms
- ECC: 1,803 assertions passed 173.75ms
300 Ecc256r1MakeKey in 8.66ms i.e. 33.8K/s, aver. 28us
300 Ecc256r1Sign in 13.78ms i.e. 21.2K/s, aver. 45us
300 Ecc256r1Verify in 56.01ms i.e. 5.2K/s, aver. 186us
598 Ecc256r1SharedSecret in 90.79ms i.e. 6.4K/s, aver. 151us
- Certificates and signatures: 91 assertions passed 22.75ms
- Ecc command line tool: 704 assertions passed 429.02ms
- ECDHE stream protocol: 63,393 assertions passed 1.60s
100 efAesCrc128 in 14.57ms i.e. 6.7K/s, aver. 145us, 126.4 MB/s
100 efAesCfb128 in 3.68ms i.e. 26.5K/s, aver. 36us, 500.9 MB/s
100 efAesOfb128 in 3.69ms i.e. 26.4K/s, aver. 36us, 499.2 MB/s
100 efAesCtr128 in 2.93ms i.e. 33.2K/s, aver. 29us, 628.2 MB/s
100 efAesCbc128 in 3.10ms i.e. 31.4K/s, aver. 31us, 593.4 MB/s
100 efAesCrc256 in 18.32ms i.e. 5.3K/s, aver. 183us, 100.6 MB/s
100 efAesCfb256 in 3.94ms i.e. 24.7K/s, aver. 39us, 467.6 MB/s
100 efAesOfb256 in 4ms i.e. 24.4K/s, aver. 40us, 460.7 MB/s
100 efAesCtr256 in 3.09ms i.e. 31.5K/s, aver. 30us, 596.1 MB/s
100 efAesCbc256 in 3.34ms i.e. 29.1K/s, aver. 33us, 551 MB/s
100 efAesGcm128 in 989us i.e. 98.7K/s, aver. 9us, 1.8 GB/s
100 efAesGcm256 in 1.14ms i.e. 85K/s, aver. 11us, 1.5 GB/s
100 efAesCtc128 in 13.20ms i.e. 7.3K/s, aver. 132us, 139.6 MB/s
100 efAesCtc256 in 17.02ms i.e. 5.7K/s, aver. 170us, 108.3 MB/s
- OpenSSL: 532 assertions passed 803.72ms
3 RSA 2048 Generation in 143.74ms i.e. 20/s, aver. 47.91ms
30 RSA 2048 Sign in 108.98ms i.e. 275/s, aver. 3.63ms
30 RSA 2048 Verify in 2.89ms i.e. 10.1K/s, aver. 96us
3 RSA-PSS 2048 Generation in 374.93ms i.e. 8/s, aver. 124.97ms
30 RSA-PSS 2048 Sign in 108.69ms i.e. 276/s, aver. 3.62ms
30 RSA-PSS 2048 Verify in 2.92ms i.e. 10K/s, aver. 97us
100 prime256v1 Generation in 8.27ms i.e. 11.8K/s, aver. 82us
100 prime256v1 Sign in 7ms i.e. 13.9K/s, aver. 70us
100 prime256v1 Verify in 17.47ms i.e. 5.5K/s, aver. 174us
100 ed25519 Generation in 5.54ms i.e. 17.6K/s, aver. 55us
100 ed25519 Sign in 10.03ms i.e. 9.7K/s, aver. 100us
100 ed25519 Verify in 12.64ms i.e. 7.7K/s, aver. 126us
Total failed: 0 / 66,546 - Core ecc PASSED 3.04s
1.6. Core compression:
- In memory compression: 21 assertions passed 406.46ms
- GZIP format: 30 assertions passed 106.64ms
- ZIP format: 856 assertions passed 1.37s
- SynLZ: 13,973 assertions passed 85.16ms
- TAlgoCompress: 458 assertions passed 300.60ms
TAlgoSynLZ 3.8 MB->1.9 MB: comp 187:95MB/s decomp 196:385MB/s
TAlgoDeflate 3.8 MB->1.5 MB: comp 30:11MB/s decomp 79:202MB/s
TAlgoDeflateFast 3.8 MB->1.5 MB: comp 45:18MB/s decomp 74:181MB/s
Total failed: 0 / 15,338 - Core compression PASSED 2.28s
1.7. Network protocols:
- Rtsp over http: 1,900 assertions passed 1.21s
Total failed: 0 / 1,900 - Network protocols PASSED 1.21s
2. ORM
2.1. Orm core:
- TOrm: 93 assertions passed 632us
- TOrmSigned: 200 assertions passed 5.91ms
- TOrmModel: 16 assertions passed 37us
- TRestServerFullMemory: 1,130,745 assertions passed 889.29ms
Total failed: 0 / 1,131,054 - Orm core PASSED 895.98ms
2.2. Sqlite file:
- Database direct access: 22,264 assertions passed 85.24ms
- Virtual table direct access: 12 assertions passed 751us
- TOrmTableJson: 144,083 assertions passed 61.50ms
- TRestClientDB: 608,196 assertions passed 816.69ms
- TRecordVersion: 20,060 assertions passed 53.03ms
Total failed: 0 / 794,615 - Sqlite file PASSED 1.01s
2.3. Sqlite file WAL:
- Database direct access: 22,264 assertions passed 83.93ms
- Virtual table direct access: 12 assertions passed 560us
- TOrmTableJson: 144,083 assertions passed 61.04ms
- TRestClientDB: 608,196 assertions passed 823.47ms
- TRecordVersion: 20,060 assertions passed 53.03ms
Total failed: 0 / 794,615 - Sqlite file WAL PASSED 1.02s
2.4. Sqlite file memory map:
- Database direct access: 22,264 assertions passed 84.97ms
- Virtual table direct access: 12 assertions passed 719us
- TOrmTableJson: 144,083 assertions passed 61.49ms
- TRestClientDB: 608,196 assertions passed 822.14ms
- TRecordVersion: 20,060 assertions passed 53.63ms
Total failed: 0 / 794,615 - Sqlite file memory map PASSED 1.02s
2.5. Sqlite memory:
- Database direct access: 22,264 assertions passed 82.65ms
- Virtual table direct access: 12 assertions passed 550us
- TOrmTableJson: 144,083 assertions passed 60.77ms
- TRestClientDB: 676,505 assertions passed 1.32s
- TRecordVersion: 20,060 assertions passed 53.42ms
- TOrmTableWritable: 24,056 assertions passed 3.54ms
- RTree: 280,024 assertions passed 1.07s
10000 With RTree in 544.20ms i.e. 17.9K/s, aver. 54us
10000 With RTreeInteger in 525.76ms i.e. 18.5K/s, aver. 52us
- Shard write: 10,602 assertions passed 121.97ms
- Shard read: 140,001 assertions passed 200.88ms
- Shard read after purge: 114,003 assertions passed 159.72ms
- MaxShardCount: 144,002 assertions passed 173.81ms
Total failed: 0 / 1,575,612 - Sqlite memory PASSED 3.25s
2.6. External database:
- SynDBRemote: 35,589 assertions passed 230.99ms
- DB properties persistence: 7 assertions passed 231us
- External records: 2 assertions passed 240us
- Auto adapt SQL: 1,041 assertions passed 2.06ms
- Crypted database: 176,193 assertions passed 88.80ms
- External via REST: 170,355 assertions passed 626.90ms
- External via virtual table: 170,355 assertions passed 959.18ms
- External via REST with change tracking: 180,455 assertions passed 1.26s
Total failed: 0 / 733,997 - External database PASSED 3.17s
2.7. Client server access:
- TRestHttpServer: 2 assertions passed 2.23ms
using Ubuntu 5.8.0 epoll
- TRestHttpClient: 4 assertions passed 9.27ms
using TRestHttpClientSocket
- HTTP client keep alive: 4,088 assertions passed 59.93ms
4.7 KB, first 1.45ms, done 54.43ms i.e. 18369/s, aver. 54us, 84.4 MB/s
- HTTP client multi connect: 4,088 assertions passed 106.02ms
4.7 KB, first 577us, done 96.67ms i.e. 10343/s, aver. 96us, 47.5 MB/s
- HTTP client encrypted: 4,088 assertions passed 63ms
4.7 KB, first 372us, done 56.86ms i.e. 17584/s, aver. 56us, 80.8 MB/s
- Direct in process access: 4,057 assertions passed 19.64ms
4.7 KB, first 131us, done 17.63ms i.e. 56705/s, aver. 17us, 260.8 MB/s
- HTTP several DB servers: 12,607 assertions passed 210.10ms
4.7 KB, first 291us, done 53.60ms i.e. 18656/s, aver. 53us, 85.8 MB/s
4.7 KB, first 357us, done 53.03ms i.e. 18857/s, aver. 53us, 86.7 MB/s
4.7 KB, first 339us, done 53.30ms i.e. 18758/s, aver. 53us, 86.2 MB/s
Total failed: 0 / 28,934 - Client server access PASSED 476.79ms
2.8. Multi thread process:
- Create thread pool: 1 assertion passed 756us
- TRestServerDB: 7,301 assertions passed 192.04ms
1=17435/s 2=18568/s 5=16737/s 10=18769/s 30=21604/s 50=22509/s
- TRestClientDB: 7,299 assertions passed 238.35ms
1=15379/s 2=12365/s 5=15899/s 10=15184/s 30=17960/s 50=16128/s
- TCP sockets: 7,302 assertions passed 424.01ms
1=8640/s 2=6424/s 5=10369/s 10=10354/s 30=9606/s 50=8414/s
- Unix domain sockets: 7,302 assertions passed 421.23ms
1=15557/s 2=5323/s 5=9805/s 10=10145/s 30=9791/s 50=8817/s
- Websockets: 3,612 assertions passed 438.44ms
1=9724/s 2=3027/s 5=3574/s
- libcurl: 7,302 assertions passed 1.04s
1=7599/s 2=8141/s 5=7955/s 10=2903/s 30=2527/s 50=2342/s
- Locked: 7,301 assertions passed 263.16ms
1=46357/s 2=11596/s 5=8095/s 10=11701/s 30=17730/s 50=16568/s
- Unlocked: 7,300 assertions passed 230.16ms
1=53802/s 2=12892/s 5=10135/s 10=12658/s 30=19600/s 50=18611/s
- Main thread: 7,302 assertions passed 94.38ms
1=33465/s 2=52456/s 5=44381/s 10=41838/s 30=35100/s 50=35273/s
- Background thread: 7,301 assertions passed 208.37ms
1=21220/s 2=22972/s 5=21346/s 10=20482/s 30=16452/s 50=10515/s
Total failed: 0 / 69,323 - Multi thread process PASSED 3.60s
3. SOA
3.1. Service oriented architecture:
- Weak interfaces: 56 assertions passed 304us
- Service initialization: 268 assertions passed 4.41ms
- Direct call: 606,564 assertions passed 18.88ms
- Server side: 606,584 assertions passed 20.26ms
! Service oriented architecture - Client side REST
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8c166800",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST as json object
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8b4b0c80",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST sessions stats
! Exception ERestException raised with messsage:
! TRestServerDB.Destroy: TRestOrmServerDB.RefCount=2
- Client side REST locked: 37,853 assertions passed 107.13ms
- Client side REST main thread: 37,853 assertions passed 531.01ms
! Service oriented architecture - Client side REST background thread
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8895f040",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST sign with crc 32c
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8b4b30c0",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST sign with xxhash
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8b4b3160",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST sign with md 5
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8b4b6680",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST sign with sha 256
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8b4b2140",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST sign with sha 512
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8c165de0",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST weak authentication
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8c166160",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST basic authentication
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8c167100",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST custom record layout
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8b4b0180",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side REST service log to DB
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8b4b0600",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Client side json RPC
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff8b4b5240",
"Message": "Access violation"
}}
}'
! Service oriented architecture - Test over HTTP
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(IComplexCalculator.EchoRecord) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":
{
"ClassName": "EAccessViolation",
"Address": "ffff880003e0",
"Message": "Access violation"
}}
}'
- Security: 139 assertions passed 1.73ms
- Mocks and stubs: 30,030 assertions passed 38.96ms
Total failed: 0 / 1,854,772 - Service oriented architecture PASSED 2.82s
3.2. Bidirectional remote connection:
- Websockets protocols: 30,000 assertions passed 8.86ms
- Run http server: 2 assertions passed 2.81ms
- Soa callback on server side: 4,580 assertions passed 1.76ms
- Soa callback via json websockets: 6,898 assertions passed 224.94ms
- Soa callback via binary websockets: 6,898 assertions passed 220.36ms
- Relay start: 4 assertions passed 6.69ms
- Relay soa callback via json websockets: 6,899 assertions passed 594.77ms
- Relay connection recreate: 1 assertion passed 3.21ms
- Relay soa callback via binary websockets: 6,899 assertions passed 753.20ms
- Relay shutdown: 2 assertions passed 115.01ms
- TRecordVersion: 20,068 assertions passed 85.07ms
Total failed: 0 / 82,251 - Bidirectional remote connection PASSED 2.01s
Generated with: Free Pascal 3.2 64 bit Linux compiler
Time elapsed for all tests: 38.64s
Performed 2021-08-03 13:18:12 by rdp on lxde
Total assertions failed for all test suits: 0 / 36,194,326
! Some tests FAILED: please correct the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment