Skip to content

Instantly share code, notes, and snippets.

View synopse's full-sized avatar
๐Ÿ 
Working from the mountains

ab synopse

๐Ÿ 
Working from the mountains
View GitHub Profile
@synopse
synopse / gist:83d7b264f336e9a8181924e16b94585e
Created August 12, 2025 16:36
mORMot 2.3.11993 on Delphi 12.2 Win64
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- Records: 893 assertions passed 641us
- TSynList: 3,007 assertions passed 150us
{
"merchantSku": "NCL17674",
"barcode": "20379360",
"hbSku": "HBCV00009FDX66",
"variantGroupId": "379292",
"productName": "Kadฤฑn Lazer Kesim DikiลŸsiz Kadฤฑn Boxer Kรผlot 3 lรผ Paket TEN",
"productStatus": "SatฤฑลŸa Hazฤฑr",
"taskDetails": [
],
@synopse
synopse / gist:a43b0ec86edd995fc7de346ab8862fc5
Created June 24, 2025 08:29
Tests with FPC 3.2.4 RC1 version
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- Records: 893 assertions passed 82us
- TSynList: 3,007 assertions passed 8us
@synopse
synopse / gist:268a82e3441a4f2e8db7773ef7c89fe3
Last active May 3, 2025 07:51
OpenSSL 3.5.0 8 Apr 2025 tests
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- Records: 893 assertions passed 272us
- TSynList: 3,007 assertions passed 70us
@synopse
synopse / gist:91c8070914770e560e66c0a2e5cd5e6b
Created April 22, 2025 12:28
Exported WMF with no font
R0001: [001] EMR_HEADER (s=108) {{ Bounds(76,49,1257,1060), Frame(0,0,21404,27940), ver(0x10000), size(1061676), recs(2440), handles(42), pals(0), dev_pix(1920,931), dev_mil(320,240), pixf_size(0), pixf_ofs(0), openGL(0) }}
R0002: [070] EMR_GDICOMMENT (s=519296) {GDI.Embedded WMF}
R0003: [017] EMR_SETMAPMODE (s=12) {iMode(8=MM_ANISOTROPIC)}
R0004: [011] EMR_SETVIEWPORTEXTEX (s=16) {szlExtent(1284,1084)}
R0005: [009] EMR_SETWINDOWEXTEX (s=16) {szlExtent(1284,1084)}
R0006: [010] EMR_SETWINDOWORGEX (s=16) {ptlOrigin(-96,-96)}
R0007: [009] EMR_SETWINDOWEXTEX (s=16) {szlExtent(5056,6600)}
R0008: [033] EMR_SAVEDC (s=8)
R0009: [021] EMR_SETSTRETCHBLTMODE (s=12) {iMode(3=COLORONCOLOR)}
R0010: [081] EMR_STRETCHDIBITS (s=146184) {rclBounds(957,49,1255,108), Dest[x:3673, y:204, cx:1175, cy:362)], dwRop(0x00CC0020), Src[x:0, y:0, cx:591, cy:245, iUsage:0, offBmi:80, Bmi:1064, offBits:1144, Bits:145040] BmiHeader[biSize:40, biWidth:591, biHeight:245, biPlanes:1, biBitCount:8, biCompression:0, biSizeImage:0, biXPelsPerMete
@synopse
synopse / With 100 items
Created April 18, 2025 16:14
MongoDBTests project with current mORMot trunk on MongoDB 8
Mongo DB
----------
1. Direct access
1.1. Direct:
- Connect to local server: 6 assertions passed 898us
- Drop and prepare collection: 7 assertions passed 371us
mORMot2 Regression Tests
--------------------------
1. Core units
1.3. Core crypto:
- RSA: 1,307,459 assertions passed 628.09ms
10 RS256 sign in 149.67ms i.e. 66/s, aver. 14.96ms
@synopse
synopse / gist:c5e1f4c54d19c8530a823e3a75ef8026
Created April 9, 2025 12:32
ldap.forumsys.com content export using mORMot TLdapClient
{
"example.com": {
"objectName": "dc=example,dc=com",
"objectClass":
[
"top",
"dcObject",
"organization"
],
"o": "example.com",
#141 iso2022_kr (cp=50225) #143 iso2022_kr (cp=50225) #145 !] FD@L=c(Python)@: 9h?l1b =10m, 0-7BGQ GA7N1W7!9V >p>n@T4O4Y. FD@L=c@:
H?@2@{@N 0m<vAX 5%@LEM 18A6?M 0#4\GOAv88 H?@2@{@N 04C<AvGbGA7N1W7!9V@;
Av?xGU4O4Y. FD@L=c@G ?l>F(iPd:)GQ 9.9}0z 5?@{ E8@LGN, 1W8.0m @NEMGA8.FC
H/0f@: FD@L=c@; =:E)83FC0z ?)7/ :P>_?!<-?M 4k:N:P@G GC7'F{?!<-@G :|8%
>VGC8.DI@L<G 039_@; GR <v @V4B @L;s@{@N >p>n7N 885i>nA]4O4Y.
!YC90!3!: 3/>F6s >1~ E-! 1]>x@L @|4O4Y. 1W710E 4Y.
<>โ—Ž ํŒŒ์ด์ฌ(Python)์€ ๋ฐฐ์šฐ๊ธฐ ์‰ฝ๊ณ , ๊ฐ•๋ ฅํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด์ž…๋‹ˆ๋‹ค. ํŒŒ์ด์ฌ์€
ํšจ์œจ์ ์ธ ๊ณ ์ˆ˜์ค€ ๋ฐ์ดํ„ฐ ๊ตฌ์กฐ์™€ ๊ฐ„๋‹จํ•˜์ง€๋งŒ ํšจ์œจ์ ์ธ ๊ฐ์ฒด์ง€ํ–ฅํ”„๋กœ๊ทธ๋ž˜๋ฐ์„
์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ํŒŒ์ด์ฌ์˜ ์šฐ์•„(ๅ„ช้›…)ํ•œ ๋ฌธ๋ฒ•๊ณผ ๋™์  ํƒ€์ดํ•‘, ๊ทธ๋ฆฌ๊ณ  ์ธํ„ฐํ”„๋ฆฌํŒ…
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- Records: 893 assertions passed 273us
- TSynList: 3,007 assertions passed 74us