Skip to content

Instantly share code, notes, and snippets.

View synopse's full-sized avatar
🏠
Working from home

ab synopse

🏠
Working from home
View GitHub Profile
@synopse
synopse / gist:c0b2346482aec4ea3b095b608636bf7b
Created October 8, 2018 10:16
mORMot ab -n 10000 -c 1000 http://localhost:8888/root/abc
Server Software: mORMot
Server Hostname: localhost
Server Port: 8888
Document Path: /root/abc
Document Length: 78788 bytes
Concurrency Level: 1000
Time taken for tests: 7.054 seconds
Complete requests: 10000
@synopse
synopse / gist:98c2343bd8e0dbafb1899439a027bd04
Created October 8, 2018 10:17
mORMot 2 ab -n 10000 -c 1000 http://localhost:8888/root/abc
Server Software: mORMot
Server Hostname: localhost
Server Port: 8888
Document Path: /root/abc
Document Length: 78788 bytes
Concurrency Level: 1000
Time taken for tests: 9.262 seconds
Complete requests: 10000
Synopse mORMot Framework Automated tests
------------------------------------------
1. Synopse libraries
1.1. Low level common:
- System copy record: 82 assertions passed 3us
- TRawUTF8List: 130,009 assertions passed 375.15ms
@synopse
synopse / gist:b258a0a26cf21c75bd4e35c6612baed1
Created January 7, 2019 20:35
Synopse mORMot Framework Automated tests on Windows WSL (Ubuntu 16.04.5 LTS - Linux 4.4.0-17134-Microsoft)
Synopse mORMot Framework Automated tests
------------------------------------------
1. Synopse libraries
1.1. Low level common:
- System copy record: 82 assertions passed 131us
- TRawUTF8List: 130,009 assertions passed 77.82ms
@synopse
synopse / gist:219b4d7e61e5c614cdb207270a18019a
Created January 9, 2019 14:10
Delphi 10.3 Rio 32 bit compiler
- TSynQueue: 6,541,501 assertions passed 328.17ms
Total failed: 0 / 18,824,563 - Low level common PASSED 3.99s
1.2. Low level types:
- RTTI: 443 assertions passed 1.02ms
- Url encoding: 200 assertions passed 668us
- Encode decode JSON: 414,623 assertions passed 187.82ms
- Variants: 66 assertions passed 609us
- Mustache renderer: 147 assertions passed 5.14ms
- TDocVariant: 71,777 assertions passed 140.94ms
- TSynQueue: 6,541,501 assertions passed 285.98ms
Total failed: 0 / 18,832,979 - Low level common PASSED 4.26s
1.2. Low level types:
- RTTI: 443 assertions passed 698us
- Url encoding: 200 assertions passed 620us
- Encode decode JSON: 416,581 assertions passed 166.69ms
- Variants: 66 assertions passed 893us
- Mustache renderer: 147 assertions passed 2.53ms
- TDocVariant: 71,777 assertions passed 116.85ms
root@Acer:/mnt/d/Dev/Lib/SQLite3/fpc/bin/x86_64-linux# ./TestSQL3
Synopse mORMot Framework Automated tests
------------------------------------------
1. Synopse libraries
1.1. Low level common:
- System copy record: 82 assertions passed 1.55ms
@synopse
synopse / gist:684c8e8ff094e5b91edc2e0919c76f6a
Created March 31, 2019 17:27
mORMot 1.18.5148 on Win32 with Delphi 10.3 Rio
1.2. Low level types:
- RTTI: 443 assertions passed 632us
- Url encoding: 200 assertions passed 582us
- Encode decode JSON: 414,911 assertions passed 134.44ms
- Variants: 66 assertions passed 709us
- Mustache renderer: 147 assertions passed 4.33ms
- TDocVariant: 71,777 assertions passed 126.96ms
- TDecimal128: 17,446 assertions passed 2.17ms
- BSON: 245,070 assertions passed 7.10ms
100000 TBSONObjectID.ComputeNew in 5.88ms i.e. 17,003,910/s, aver. 0us
2.11. DDD shared units:
- User model: 3,276 assertions passed 10.89ms
- Authentication model: 20,006 assertions passed 2.52s
- Email validation process: 58 assertions passed 44.62ms
- User CQRS repository: 57,106 assertions passed 1.74s
Total failed: 0 / 80,446 - DDD shared units PASSED 4.32s
2.12. DDD multi thread:
- Delete old database: 1 assertion passed 2.75ms
- Start server: 1 assertion passed 34.28ms
Synopse mORMot Framework Automated tests
------------------------------------------
1. Synopse libraries
1.1. Low level common:
- System copy record: 162 assertions passed 347us
- TRawUTF8List: 130,009 assertions passed 103.57ms