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
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
@synopse
synopse / gist:83250a890fd23b0f8b748db227b3cc6d
Created July 9, 2021 20:58
mORMot 2 regression tests on another much smaller ATOM computer (the synopse server at dedibox)
synopse@sd-73991:~/temp$ ./mormot2tests
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- RecordCopy: 743 assertions passed 77us
@synopse
synopse / gist:30c68ffbbb22c98c5bfe91060ceac356
Created July 9, 2021 20:42
mormot2 tests Free Pascal 3.2 64 bit Linux compiler
abouchez@tisab:~/dev/lib2/test/fpc/bin/x86_64-linux$ ./mormot2tests
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- RecordCopy: 743 assertions passed 87us
@synopse
synopse / gist:8ffdb40e089063a240f7c895b64ff61f
Created July 9, 2021 10:01
mORMot 2 tests cross-compiled from Debian x86_64 to Win32, running on Windows 7
100000 find UTF8String in 33.92ms i.e. 2.8M/s, aver. 0us
100000 random WideString in 19.16ms i.e. 4.9M/s, aver. 0us
100000 add WideString in 11.22ms i.e. 8.4M/s, aver. 0us
100000 getitem WideString in 13.25ms i.e. 7.1M/s, aver. 0us
100000 in WideString in 13.27ms i.e. 7.1M/s, aver. 0us
400000 IList<WideString> in 57.01ms i.e. 6.6M/s, aver. 0us
100000 sort WideString in 33.20ms i.e. 2.8M/s, aver. 0us
100000 find WideString in 38.93ms i.e. 2.4M/s, aver. 0us
100000 random UnicodeString in 16.20ms i.e. 5.8M/s, aver. 0us
100000 add UnicodeString in 1.62ms i.e. 58.5M/s, aver. 0us
@synopse
synopse / gist:f2106dfcf01cab63ddb78021a78b552e
Created July 3, 2021 12:34
mORMot 2 tests on Delphi 2009
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- RecordCopy: 743 assertions passed 570us
- TRawUtf8List: 190,172 assertions passed 55.64ms
@synopse
synopse / gist:550bb7b2825bc99376fa95d61c6550f8
Created June 17, 2021 07:37
mORMot 2 tests compiled on FPC for Win32
- Wiki markdown to html: 56 assertions passed 122us
- Variants: 97 assertions passed 73us
- Mustache renderer: 156 assertions passed 1.02ms
- TDocVariant: 91,787 assertions passed 98.92ms
- TDecimal128: 17,446 assertions passed 1.40ms
- BSON: 245,070 assertions passed 3.56ms
100000 TBsonObjectID.ComputeNew in 3.10ms i.e. 30.7M/s, aver. 0us
- TSelectStatement: 221 assertions passed 277us
- TSynMonitorUsage: 1,202 assertions passed 146us
Total failed: 0 / 783,510 - Core process PASSED 215.84ms
@synopse
synopse / posex.asm
Created June 3, 2021 09:03
mORMot 2 PosExPas() as compiled on Linux x86_64
MORMOT.CORE.BASE_$$_POSEXPAS$PUTF8CHAR$PUTF8CHAR$QWORD$$INT64 PROC
push rbx ; 0000 _ 53
push r12 ; 0001 _ 41: 54
mov rax, 0 ; 0003 _ 48: C7. C0, 00000000
test rsi, rsi ; 000A _ 48: 85. F6
je ?_0844 ; 000D _ 0F 84, 0000012B
test rdi, rdi ; 0013 _ 48: 85. FF
je ?_0844 ; 0016 _ 0F 84, 00000122
test rdx, rdx ; 001C _ 48: 85. D2
jle ?_0844 ; 001F _ 0F 8E, 00000119
D:\Work\nepark\bin\epark_ext_work.exe 0.0.0.0 (2021-05-04 14:46:49)
Host=K6 User=alpi CPU=4xIntel(R)Core(TM)i7-5500UCPU@2.40GHz(x86)*9-6-15620:FFFBEBBFBFFBFA7FAB271C020000000000 OS=23.0=10.0.19042 Wow64=1 Freq=10000000
Environment variables=ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\alpin_000\AppData\Roaming COLUMNS=80 CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramFiles=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=K6 ComSpec=C:\WINDOWS\system32\cmd.exe CORONA_PATH=D:\devel\Corona Labs\Corona\ CORONA_ROOT=D:\devel\Corona Labs\Corona\Native CORONA_SDK_PATH=D:\devel\Corona Labs\Corona\ DriverData=C:\Windows\System32\Drivers\DriverData FP_NO_HOST_CHECK=NO FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer FPS_BROWSER_USER_PROFILE_STRING=Default HOMEDRIVE=C: HOMEPATH=\Users\alpin_000 LINES=24 LOCALAPPDATA=C:\Users\alpin_000\AppData\Local LOGONSERVER=\\K6 NUMBER_OF_PROCESSORS=4 OneDrive=C:\Users\alpin_000\OneDrive OneDriveConsumer=C:
@synopse
synopse / gist:8f3e45d37912a487a2d6820ec1ea77cb
Created February 12, 2021 17:11
mormot2tests.dbg: file format pei-i386
mormot2tests.dbg: file format pei-i386
Raw dump of debug contents of section .debug_line:
Offset: 0x0
Length: 384
DWARF Version: 2
Prologue Length: 39
Minimum Instruction Length: 1
Initial value of 'is_stmt': 1
@synopse
synopse / gist:d3a78e65a0b937df838bc4823f89881e
Created January 18, 2021 18:28
mORMot2 Regression Tests
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- RecordCopy: 162 assertions passed 34us
- TRawUtf8List: 190,172 assertions passed 70.11ms