Created
February 13, 2022 08:59
-
-
Save martin-doyle/0f09424f8acbbc19ecc0eae9dacdc252 to your computer and use it in GitHub Desktop.
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
mORMot2 Regression Tests | |
-------------------------- | |
1. Core units | |
1.1. Core base: | |
- RecordCopy: 743 assertions passed 32us | |
- TRawUtf8List: 190,174 assertions passed 40.80ms | |
- TDynArray: 1,091,805 assertions passed 78.80ms | |
- TDynArrayHashed: 1,599,070 assertions passed 359.39ms | |
- TSynDictionary: 283,050 assertions passed 335.13ms | |
- TSynQueue: 6,541,501 assertions passed 108.97ms | |
- TSynNameValue: 40,032 assertions passed 5.04ms | |
- TRawUtf8Interning: 2,000,013 assertions passed 76.46ms | |
500000 interning 16 KB in 25.34ms i.e. 18.8M/s, aver. 50ns, 602 MB/s | |
500000 direct 15.2 MB in 10.53ms i.e. 45.2M/s, aver. 21ns, 1.4 GB/s | |
- TObjArray: 3,230 assertions passed 499us | |
- Custom RTL: 297,646 assertions passed 188.18ms | |
FillChar in 5.56ms, 69.8 GB/s | |
Move in 6.99ms, 44.6 GB/s | |
small Move in 26.78ms, 4 GB/s | |
big Move in 8.37ms, 46.6 GB/s | |
FillCharFast in 5ms, 77.6 GB/s | |
MoveFast in 6.84ms, 45.6 GB/s | |
small MoveFast in 29.19ms, 3.7 GB/s | |
big MoveFast in 8.41ms, 46.3 GB/s | |
- Fast string compare: 41 assertions passed 10us | |
- IdemPropName: 228 assertions passed 20us | |
- Url encoding: 167 assertions passed 649us | |
- GUID: 10,019 assertions passed 1.97ms | |
- ParseCommandArguments: 232 assertions passed 14us | |
- IsMatch: 4,250 assertions passed 105us | |
- TExprParserMatch: 140 assertions passed 48us | |
- Soundex: 35 assertions passed 8us | |
- Numerical conversions: 2,542,200 assertions passed 172.63ms | |
100000 FloatToText in 23.44ms i.e. 4M/s, aver. 234ns, 77.3 MB/s | |
100000 str in 11.65ms i.e. 8.1M/s, aver. 116ns, 196.3 MB/s | |
100000 DoubleToShort in 6.59ms i.e. 14.4M/s, aver. 65ns, 303.6 MB/s | |
100000 DoubleToAscii in 6.32ms i.e. 15M/s, aver. 63ns, 319.9 MB/s | |
- Integers: 146,512 assertions passed 27.16ms | |
- crc32c: 100,074 assertions passed 79.17ms | |
pas 350.1 MB/s fast 821.7 MB/s | |
- Random32: 221,003 assertions passed 1.50ms | |
240000 Random32 in 1.13ms i.e. 201.4M/s, aver. 4ns, 805.9 MB/s | |
RandomBytes in 312us, 1.1 GB/s | |
- Bloom filters: 2,010,072 assertions passed 64.45ms | |
- DeltaCompress: 87 assertions passed 2.66ms | |
- Curr 64: 20,056 assertions passed 706us | |
- CamelCase: 11 assertions passed 4us | |
- Bits: 15,567 assertions passed 16.37ms | |
- Ini files: 7,028 assertions passed 12.12ms | |
- UTF8: 1,385,068 assertions passed 544.42ms | |
- Url decoding: 1,301 assertions passed 72us | |
- Mime types: 450 assertions passed 5.28ms | |
- Baudot code: 10,007 assertions passed 19.46ms | |
- Iso 8601 date and time: 200,831 assertions passed 3.43ms | |
! Core base - Time zones | |
! Exception EAccessViolation raised with messsage: | |
! Access violation | |
- Quick select: 4,015 assertions passed 86.36ms | |
- TSynCache: 408 assertions passed 46us | |
- TSynFilter: 804 assertions passed 986us | |
- TSynValidate: 677 assertions passed 298us | |
- TSynLogFile: 56 assertions passed 18us | |
- TSynUniqueIdentifier: 1,300,002 assertions passed 164.62ms | |
200000 ComputeNew in 3.39ms i.e. 56.2M/s, aver. 16ns | |
Total failed: 0 / 20,029,054 - Core base PASSED 2.60s | |
1.2. Core process: | |
- RTTI: 1,345 assertions passed 322us | |
- Url encoding: 300 assertions passed 470us | |
#429016 #429017 #429158 ! - Encode decode JSON: 3 / 429,199 FAILED 106.10ms | |
- JSON benchmark: 100,519 assertions passed 832.52ms | |
StrLen() in 4.22ms, 4.5 GB/s | |
IsValidUtf8(RawUtf8) in 6.69ms, 2.8 GB/s | |
IsValidUtf8(PUtf8Char) in 10.06ms, 1.9 GB/s | |
IsValidJson(RawUtf8) in 17.22ms, 1.1 GB/s | |
IsValidJson(PUtf8Char) in 16.09ms, 1.1 GB/s | |
JsonArrayCount(P) in 16.01ms i.e. 9.8M/s, 1.1 GB/s | |
JsonArrayCount(P,PMax) in 16.07ms i.e. 9.7M/s, 1.1 GB/s | |
JsonObjectPropCount() in 8.67ms, 1.2 GB/s | |
jsonUnquotedPropNameCompact in 40.46ms, 430.1 MB/s | |
jsonHumanReadable in 52.21ms, 477.6 MB/s | |
TDocVariant in 98.21ms i.e. 1.6M/s, 199.5 MB/s | |
TDocVariant no guess in 97.41ms i.e. 1.6M/s, 201.2 MB/s | |
TDocVariant dvoIntern in 100.38ms i.e. 1.5M/s, 195.2 MB/s | |
TOrmTableJson save in 21.02ms i.e. 7.4M/s, 409.9 MB/s | |
TOrmTableJson exp in 18.74ms i.e. 8.3M/s, 1 GB/s | |
TOrmTableJson not exp in 11.95ms i.e. 13.1M/s, 721.3 MB/s | |
TDocVariant FromResults exp in 39.19ms i.e. 4M/s, 500.1 MB/s | |
TDocVariant FromResults not exp in 32.98ms i.e. 4.7M/s, 261.3 MB/s | |
DynArrayLoadJson exp in 37.03ms i.e. 4.2M/s, 529.2 MB/s | |
DynArrayLoadJson non exp in 25.07ms i.e. 6.2M/s, 343.8 MB/s | |
TOrmPeopleObjArray exp in 56.06ms i.e. 2.8M/s, 349.6 MB/s | |
TOrmPeopleObjArray non exp in 36.04ms i.e. 4.3M/s, 239.1 MB/s | |
fpjson in 54.40ms i.e. 295.3K/s, 36 MB/s | |
- Wiki markdown to html: 56 assertions passed 138us | |
- Variants: 122 assertions passed 28us | |
#54 #55 #56 #57 #58 ! - Mustache renderer: 5 / 58 FAILED 109.85ms | |
- TDocVariant: 90,772 assertions passed 52.74ms | |
- TDecimal128: 17,446 assertions passed 770us | |
- BSON: 245,070 assertions passed 2.81ms | |
100000 TBsonObjectID.ComputeNew in 2.52ms i.e. 37.7M/s, aver. 25ns | |
- TSelectStatement: 229 assertions passed 52us | |
- TSynMonitorUsage: 1,202 assertions passed 39us | |
Total failed: 8 / 886,318 - Core process FAILED 1.10s | |
1.3. Core collections: | |
- IList: 6,944,142 assertions passed 484.41ms | |
500000 IList<Byte> in 1.64ms i.e. 290.7M/s, aver. 3ns | |
500000 IList<Word> in 1.79ms i.e. 265.6M/s, aver. 3ns | |
500000 IList<Integer> in 1.83ms i.e. 260.5M/s, aver. 3ns | |
500000 IList<Cardinal> in 1.83ms i.e. 260M/s, aver. 3ns | |
500000 IList<Int64> in 2.09ms i.e. 227.1M/s, aver. 4ns | |
500000 IList<QWord> in 2.08ms i.e. 228.2M/s, aver. 4ns | |
500000 IList<Single> in 1.83ms i.e. 259.4M/s, aver. 3ns | |
500000 IList<Double> in 2ms i.e. 237.8M/s, aver. 4ns | |
500000 IList<TDateTime> in 2.01ms i.e. 236.4M/s, aver. 4ns | |
500000 IList<UTF8String> in 4.93ms i.e. 96.6M/s, aver. 9ns | |
500000 IList<UnicodeString> in 5.02ms i.e. 94.9M/s, aver. 10ns | |
500000 IList<Variant> in 10.99ms i.e. 43.3M/s, aver. 21ns | |
500000 IList<THash128> in 4.36ms i.e. 109.2M/s, aver. 8ns | |
500000 IList<TGuid> in 4.16ms i.e. 114.4M/s, aver. 8ns | |
- IKeyValue: 3,800,050 assertions passed 150.84ms | |
100000 integer,Int64 add in 6.97ms i.e. 13.6M/s, aver. 69ns | |
100000 integer,Int64 get in 3.60ms i.e. 26.4M/s, aver. 36ns | |
100000 RawUtf8,double add in 12.23ms i.e. 7.7M/s, aver. 122ns | |
100000 RawUtf8,double get in 4.78ms i.e. 19.9M/s, aver. 47ns | |
100000 integer,Int64 capa add in 4.60ms i.e. 20.6M/s, aver. 46ns | |
100000 integer,Int64 capa get in 2.72ms i.e. 34.9M/s, aver. 27ns | |
100000 RawUtf8,double capa add in 7.41ms i.e. 12.8M/s, aver. 74ns | |
100000 RawUtf8,double capa get in 3.06ms i.e. 31M/s, aver. 30ns | |
Total failed: 0 / 10,744,192 - Core collections PASSED 635.27ms | |
1.4. Core crypto: | |
- MD5: 166 assertions passed 176us | |
- SHA1: 8 assertions passed 3.36ms | |
- SHA256: 15 assertions passed 29.92ms | |
- SHA512: 27 assertions passed 24.15ms | |
- SHA3: 8,225 assertions passed 17.59ms | |
- AES: 52,372 assertions passed 508.61ms | |
- AES_GCM: 215 assertions passed 118us | |
- RC4: 1,016 assertions passed 670us | |
- Hashes: 21 assertions passed 915.57ms | |
- Base64: 26,064 assertions passed 123.74ms | |
encoding in 42.71ms, 2.2 GB/s | |
decoding in 61.34ms, 1.5 GB/s | |
- CompressShaAes: 1,683 assertions passed 2.01ms | |
- TAesPNRG: 231,315 assertions passed 71.19ms | |
100000 mORMot Random32 in 8.99ms i.e. 10.6M/s, aver. 89ns, 42.4 MB/s | |
mORMot FillRandom in 492us, 193.8 MB/s | |
100000 Lecuyer Random32 in 482us i.e. 197.8M/s, aver. 4ns, 791.4 MB/s | |
Lecuyer RandomBytes in 77us, 1.2 GB/s | |
- CryptDataForCurrentUser: 5,000 assertions passed 13.62ms | |
2000 AES-CFB in 13.25ms i.e. 147.3K/s, aver. 6.62us, 78.6 MB/s | |
- JWT: 162,726 assertions passed 239.79ms | |
1000 HS256 in 2.65ms i.e. 367.9K/s, aver. 2.65us | |
1000 HS384 in 1.64ms i.e. 594.3K/s, aver. 1.64us | |
1000 HS512 in 1.66ms i.e. 588.2K/s, aver. 1.66us | |
1000 S3224 in 758us i.e. 1.2M/s, aver. 758ns | |
1000 S3256 in 757us i.e. 1.2M/s, aver. 757ns | |
1000 S3384 in 767us i.e. 1.2M/s, aver. 767ns | |
1000 S3512 in 776us i.e. 1.2M/s, aver. 776ns | |
1000 S3S128 in 772us i.e. 1.2M/s, aver. 772ns | |
1000 S3S256 in 788us i.e. 1.2M/s, aver. 788ns | |
100 ES256 in 88.68ms i.e. 1.1K/s, aver. 886us | |
- TBinaryCookieGenerator: 82,944 assertions passed 4.96ms | |
16384 generate in 2.37ms i.e. 6.5M/s, aver. 145ns | |
16384 validate in 801us i.e. 19.5M/s, aver. 48ns | |
- Catalog: 2,452 assertions passed 503.28ms | |
- Benchmark: 87,500 assertions passed 782.89ms | |
2500 crc32c in 6.73ms i.e. 362.7K/s or 790.4 MB/s | |
2500 xxhash32 in 828us i.e. 2.8M/s or 6.2 GB/s | |
2500 crc32 in 226us i.e. 10.5M/s or 22.9 GB/s | |
2500 adler32 in 368us i.e. 6.4M/s or 14.1 GB/s | |
2500 hash32 in 465us i.e. 5.1M/s or 11.1 GB/s | |
2500 md5 in 11.16ms i.e. 218.7K/s or 476.6 MB/s | |
2500 sha1 in 22.67ms i.e. 107.6K/s or 234.6 MB/s | |
2500 hmacsha1 in 24.86ms i.e. 98.1K/s or 213.9 MB/s | |
2500 sha256 in 50.09ms i.e. 48.7K/s or 106.2 MB/s | |
2500 hmacsha256 in 54.67ms i.e. 44.6K/s or 97.3 MB/s | |
2500 sha384 in 18.90ms i.e. 129.1K/s or 281.4 MB/s | |
2500 hmacsha384 in 22.25ms i.e. 109.6K/s or 239 MB/s | |
2500 sha512 in 18.97ms i.e. 128.6K/s or 280.4 MB/s | |
2500 hmacsha512 in 22.28ms i.e. 109.5K/s or 238.7 MB/s | |
2500 sha3_256 in 16.23ms i.e. 150.3K/s or 327.7 MB/s | |
2500 sha3_512 in 29.63ms i.e. 82.3K/s or 179.5 MB/s | |
2500 rc4 in 5.07ms i.e. 481K/s or 1 GB/s | |
2500 mormot aes-128-cfb in 23.10ms i.e. 105.6K/s or 230.3 MB/s | |
2500 mormot aes-128-ofb in 20.99ms i.e. 116.2K/s or 253.4 MB/s | |
2500 mormot aes-128-c64 in 19.94ms i.e. 122.4K/s or 266.7 MB/s | |
2500 mormot aes-128-ctr in 20.01ms i.e. 121.9K/s or 265.8 MB/s | |
2500 mormot aes-128-cfc in 24.71ms i.e. 98.7K/s or 215.2 MB/s | |
2500 mormot aes-128-ofc in 24.09ms i.e. 101.3K/s or 220.8 MB/s | |
2500 mormot aes-128-ctc in 25.64ms i.e. 95.2K/s or 207.5 MB/s | |
2500 mormot aes-128-gcm in 33.10ms i.e. 73.7K/s or 160.7 MB/s | |
2500 mormot aes-256-cfb in 31.24ms i.e. 78.1K/s or 170.2 MB/s | |
2500 mormot aes-256-ofb in 29.21ms i.e. 83.5K/s or 182.1 MB/s | |
2500 mormot aes-256-c64 in 28.11ms i.e. 86.8K/s or 189.2 MB/s | |
2500 mormot aes-256-ctr in 28.09ms i.e. 86.8K/s or 189.3 MB/s | |
2500 mormot aes-256-cfc in 32.89ms i.e. 74.2K/s or 161.7 MB/s | |
2500 mormot aes-256-ofc in 32.32ms i.e. 75.5K/s or 164.5 MB/s | |
2500 mormot aes-256-ctc in 33.82ms i.e. 72.1K/s or 157.3 MB/s | |
2500 mormot aes-256-gcm in 41.15ms i.e. 59.3K/s or 129.2 MB/s | |
2500 shake128 in 12.91ms i.e. 188.9K/s or 411.8 MB/s | |
2500 shake256 in 15.81ms i.e. 154.4K/s or 336.5 MB/s | |
Total failed: 0 / 661,749 - Core crypto PASSED 3.24s | |
1.5. Core ecc: | |
- Reference vectors: 23 assertions passed 6.99ms | |
- ECC: 2,104 assertions passed 1.49s | |
300 Ecc256r1MakeKey in 223.95ms i.e. 1.3K/s, aver. 746us | |
300 Ecc256r1Uncompress in 16.11ms i.e. 18.1K/s, aver. 53us | |
300 Ecc256r1Sign in 230.92ms i.e. 1.2K/s, aver. 769us | |
300 Ecc256r1Verify in 280.65ms i.e. 1K/s, aver. 935us | |
300 Ecc256r1VerifyUncomp in 264.54ms i.e. 1.1K/s, aver. 881us | |
598 Ecc256r1SharedSecret in 479.90ms i.e. 1.2K/s, aver. 802us | |
- Certificates and signatures: 106 assertions passed 40.85ms | |
- Ecc command line tool: 704 assertions passed 444.90ms | |
- ECDHE stream protocol: 63,393 assertions passed 3.87s | |
100 efAesCrc128 in 11.65ms i.e. 8.3K/s, aver. 116us, 218.7 MB/s | |
100 efAesCfb128 in 13.39ms i.e. 7.2K/s, aver. 133us, 190.4 MB/s | |
100 efAesOfb128 in 13.13ms i.e. 7.4K/s, aver. 131us, 194.1 MB/s | |
100 efAesCtr128 in 12.65ms i.e. 7.7K/s, aver. 126us, 201.4 MB/s | |
100 efAesCbc128 in 13.40ms i.e. 7.2K/s, aver. 134us, 190.1 MB/s | |
100 efAesCrc256 in 15.41ms i.e. 6.3K/s, aver. 154us, 165.4 MB/s | |
100 efAesCfb256 in 17.26ms i.e. 5.6K/s, aver. 172us, 147.6 MB/s | |
100 efAesOfb256 in 17ms i.e. 5.7K/s, aver. 170us, 149.9 MB/s | |
100 efAesCtr256 in 16.50ms i.e. 5.9K/s, aver. 165us, 154.4 MB/s | |
100 efAesCbc256 in 17.28ms i.e. 5.6K/s, aver. 172us, 147.5 MB/s | |
100 efAesGcm128 in 15.29ms i.e. 6.3K/s, aver. 152us, 166.7 MB/s | |
100 efAesGcm256 in 19.11ms i.e. 5.1K/s, aver. 191us, 133.4 MB/s | |
100 efAesCtc128 in 11.82ms i.e. 8.2K/s, aver. 118us, 215.7 MB/s | |
100 efAesCtc256 in 15.63ms i.e. 6.2K/s, aver. 156us, 163 MB/s | |
Total failed: 0 / 66,330 - Core ecc PASSED 5.86s | |
1.6. Core compression: | |
- In memory compression: 21 assertions passed 179.43ms | |
- GZIP format: 30 assertions passed 101.74ms | |
- ZIP format: 864 assertions passed 1.60s | |
- SynLZ: 14,849 assertions passed 50.96ms | |
- TAlgoCompress: 762 assertions passed 299.51ms | |
TAlgoSynLZ 3.8 MB->2.5 MB: comp 215.7MB/s decomp 599.7MB/s | |
TAlgoRleLZ 3.8 MB->2.5 MB: comp 167.7MB/s decomp 581.1MB/s | |
TAlgoRle 3.8 MB->3.8 MB: comp 382.1MB/s decomp 24.2GB/s | |
TAlgoDeflate 3.8 MB->2 MB: comp 27.4MB/s decomp 256.1MB/s | |
TAlgoDeflateFast 3.8 MB->2.1 MB: comp 69.4MB/s decomp 246.8MB/s | |
Total failed: 0 / 16,526 - Core compression PASSED 2.23s | |
1.7. Network protocols: | |
#1 ENetSock ! - Rtsp over http: 1 / 1 FAILED 1.02s | |
#1 ENetSock ! - Rtsp over http buffered write: 1 / 1 FAILED 1.01s | |
Total failed: 2 / 2 - Network protocols FAILED 2.04s | |
2. ORM | |
2.1. Orm core: | |
- TOrm: 93 assertions passed 444us | |
- TOrmSigned: 200 assertions passed 9.16ms | |
- TOrmModel: 49 assertions passed 36us | |
- TRestServerFullMemory: 1,370,749 assertions passed 349.51ms | |
Total failed: 0 / 1,371,091 - Orm core PASSED 359.18ms | |
2.2. Sqlite file: | |
- Database direct access: 22,291 assertions passed 40.71ms | |
- Virtual table direct access: 12 assertions passed 488us | |
- TOrmTableJson: 149,089 assertions passed 37.86ms | |
- TRestClientDB: 608,198 assertions passed 284.11ms | |
- Regexp function: 6,015 assertions passed 6.08ms | |
- TRecordVersion: 20,060 assertions passed 20.36ms | |
Total failed: 0 / 805,665 - Sqlite file PASSED 389.64ms | |
2.3. Sqlite file WAL: | |
- Database direct access: 22,291 assertions passed 44.80ms | |
- Virtual table direct access: 12 assertions passed 210us | |
- TOrmTableJson: 149,089 assertions passed 35.42ms | |
- TRestClientDB: 608,198 assertions passed 310.33ms | |
- Regexp function: 6,015 assertions passed 6.16ms | |
- TRecordVersion: 20,060 assertions passed 20.23ms | |
Total failed: 0 / 805,665 - Sqlite file WAL PASSED 417.19ms | |
2.4. Sqlite file memory map: | |
- Database direct access: 22,271 assertions passed 29.50ms | |
- Virtual table direct access: 12 assertions passed 228us | |
- TOrmTableJson: 149,089 assertions passed 33.83ms | |
- TRestClientDB: 608,196 assertions passed 257.27ms | |
- Regexp function: 6,015 assertions passed 6.22ms | |
- TRecordVersion: 20,060 assertions passed 20.32ms | |
Total failed: 0 / 805,643 - Sqlite file memory map PASSED 347.39ms | |
2.5. Sqlite memory: | |
- Database direct access: 22,271 assertions passed 28.48ms | |
- Virtual table direct access: 12 assertions passed 182us | |
- TOrmTableJson: 149,089 assertions passed 32.79ms | |
- TRestClientDB: 676,505 assertions passed 385.33ms | |
- Regexp function: 6,015 assertions passed 6.09ms | |
- TRecordVersion: 20,060 assertions passed 20.31ms | |
- TOrmTableWritable: 24,086 assertions passed 2.64ms | |
- RTree: 280,024 assertions passed 325.26ms | |
10000 With RTree in 169.21ms i.e. 57.7K/s, aver. 16us | |
10000 With RTreeInteger in 155.35ms i.e. 62.8K/s, aver. 15us | |
- Shard write: 10,602 assertions passed 42.40ms | |
- Shard read: 140,001 assertions passed 41.65ms | |
- Shard read after purge: 114,003 assertions passed 33.14ms | |
- MaxShardCount: 144,002 assertions passed 43.53ms | |
Total failed: 0 / 1,586,670 - Sqlite memory PASSED 961.89ms | |
2.6. External database: | |
- SynDBRemote: 28,471 assertions passed 38.36ms | |
- DB properties persistence: 7 assertions passed 173us | |
- External records: 2 assertions passed 83us | |
- Auto adapt SQL: 1,041 assertions passed 685us | |
- Crypted database: 253,277 assertions passed 41.62ms | |
- External via REST: 170,355 assertions passed 224.75ms | |
- External via virtual table: 170,355 assertions passed 335.16ms | |
- External via REST with change tracking: 180,455 assertions passed 578.44ms | |
Total failed: 0 / 803,963 - External database PASSED 1.21s | |
2.7. Client server access: | |
- TRestHttpServer: 2 assertions passed 3.08ms | |
using THttpAsyncServer OSX 21.2.0 poll | |
! Client server access - HTTP client keep alive | |
! Exception EAccessViolation raised with messsage: | |
! Access violation | |
! Client server access - HTTP client multi connect | |
! Exception EAccessViolation raised with messsage: | |
! Access violation | |
! Client server access - HTTP client encrypted | |
! Exception EAccessViolation raised with messsage: | |
! Access violation | |
- Direct in process access: 4,057 assertions passed 10.35ms | |
4.7 KB, first 796us, done 8.40ms i.e. 118920/s, aver. 8.40us, 546.9 MB/s | |
Total failed: 0 / 4,059 - Client server access PASSED 535.37ms | |
2.8. Multi thread process: | |
- Create thread pool: 1 assertion passed 3.08ms | |
- TRestServerDB: 8,420 assertions passed 57.65ms | |
1=69183/s 2=76294/s 5=82703/s 10=77296/s 30=85700/s 50=81528/s | |
- TRestClientDB: 8,421 assertions passed 100.67ms | |
1=123915/s 2=122206/s 5=112215/s 10=57166/s 30=22024/s 50=19412/s | |
- Locked: 8,422 assertions passed 111.96ms | |
1=114304/s 2=112612/s 5=111482/s 10=56652/s 30=22123/s 50=15109/s | |
- Unlocked: 8,422 assertions passed 44.51ms | |
1=106382/s 2=103519/s 5=96498/s 10=109426/s 30=107246/s 50=81234/s | |
- Main thread: 8,419 assertions passed 49.38ms | |
1=96312/s 2=93733/s 5=92299/s 10=90392/s 30=85147/s 50=78343/s | |
- Background thread: 8,420 assertions passed 134.16ms | |
1=102564/s 2=92949/s 5=86913/s 10=56652/s 30=18359/s 50=11993/s | |
MaxThreads=50 MaxClients=50 TotalOps=12480 TotalClients=588 | |
Total failed: 0 / 50,525 - Multi thread process PASSED 565ms | |
3. SOA | |
3.1. Service oriented architecture: | |
- Weak interfaces: 56 assertions passed 84us | |
- Service initialization: 268 assertions passed 1.52ms | |
- Direct call: 1,379,310 assertions passed 16.19ms | |
- Server side: 1,379,330 assertions passed 13.91ms | |
#20 #459791 #919562 #1379339 ! - Client side REST: 4 / 1,839,107 FAILED 202.53ms | |
#14 #459785 #919556 #1379333 ! - Client side REST as json object: 4 / 1,839,101 FAILED 210.13ms | |
#14 #459785 #919556 #1379333 ! - Client side REST sessions stats: 4 / 1,839,101 FAILED 233.89ms | |
#14 #459786 #919558 #1379336 ! - Client side REST locked: 4 / 1,839,105 FAILED 330.57ms | |
#14 #459786 #919558 #1379336 ! - Client side REST main thread: 4 / 1,839,105 FAILED 754.62ms | |
#14 #459786 #919558 #1379336 ! - Client side REST background thread: 4 / 1,839,105 FAILED 587.99ms | |
#14 #459785 #919556 #1379333 ! - Client side REST sign with crc 32c: 4 / 1,839,101 FAILED 197.18ms | |
#14 #459785 #919556 #1379333 ! - Client side REST sign with xxhash: 4 / 1,839,101 FAILED 194.55ms | |
#14 #459785 #919556 #1379333 ! - Client side REST sign with md 5: 4 / 1,839,101 FAILED 214.16ms | |
#14 #459785 #919556 #1379333 ! - Client side REST sign with sha 256: 4 / 1,839,101 FAILED 288.68ms | |
#14 #459785 #919556 #1379333 ! - Client side REST sign with sha 512: 4 / 1,839,101 FAILED 263.67ms | |
#14 #459785 #919556 #1379333 ! - Client side REST weak authentication: 4 / 1,839,101 FAILED 185.50ms | |
#14 #459785 #919556 #1379333 ! - Client side REST basic authentication: 4 / 1,839,101 FAILED 293.26ms | |
#14 #459785 #919556 #1379333 ! - Client side REST custom record layout: 4 / 1,839,101 FAILED 209.90ms | |
#14 #459785 #919556 #1379333 ! - Client side REST service log to DB: 4 / 1,839,101 FAILED 309.52ms | |
#14 #459785 #919556 #1379333 ! - Client side json RPC: 4 / 1,839,101 FAILED 245.42ms | |
- Security: 139 assertions passed 561us | |
- Mocks and stubs: 30,030 assertions passed 14.42ms | |
Total failed: 64 / 32,214,767 - Service oriented architecture FAILED 4.77s | |
3.2. Bidirectional remote connection: | |
- Websockets protocols: 30,000 assertions passed 3.06ms | |
- Run http server: 2 assertions passed 3.64ms | |
- Soa callback on server side: 4,580 assertions passed 779us | |
#4 stats ! - Relay start: 1 / 4 FAILED 4.14ms | |
- Relay connection recreate: 1 assertion passed 1.82ms | |
#1 stats #2 stats ! - Relay shutdown: 2 / 2 FAILED 130.61ms | |
Total failed: 3 / 34,589 - Bidirectional remote connection FAILED 250.51ms | |
Darwin 21.2.0 (cp utf8) | |
8 x MacBookPro18,3 4MB cache (aarch64) | |
on arm64 | |
Using mORMot 2.0.1 | |
TSqlite3LibraryStatic 3.37.2 with internal MM | |
Generated with: Free Pascal 3.2.3 64 bit OSX compiler | |
Time elapsed for all tests: 27.55s | |
Performed 2022-02-13 09:57:11 by martin on MacBook-Pro.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment