Skip to content

Instantly share code, notes, and snippets.

@dadim
dadim / gist:1a7c478fe6743613a3bf2c246861d23b
Created August 13, 2025 07:35
mormot2tests win10 64bit OpenSSL Delphi 12.2
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- Records: 893 assertions passed 396us
- TSynList: 3,007 assertions passed 125us
- TDynArray:
@dadim
dadim / gist:a9479de2bd53696c4394080de6c59f6c
Created August 13, 2025 07:12
mormot2tests x64 win10
mORMot2 Regression Tests
--------------------------
1. Core units
1.1. Core base:
- Records: 893 assertions passed 399us
- TSynList: 3,007 assertions passed 64us
- TDynArray:
@dadim
dadim / frontdeskmethodservice.pas
Last active April 1, 2021 12:08
Front desk method (mORMot) based service with jwt authentication
(*
A method based service class to handle user authentication, using an abstract username/password check and jwt afterwards.
It can be used as a base class to descent a front desk method based service to implement the actual web api. It is based
on the mORMot Framework.
For more info, please visit:
https://synopse.info/forum/viewtopic.php?id=5826
Author: Damianos (dadim)
*)
@dadim
dadim / MyTestClientMain.pas
Last active June 24, 2020 09:30
Test sample for mORMot lazy DI
unit MyTestClientMain;
interface
uses
{$IFDEF MSWINDOWS} Windows, Messages, {$ENDIF}
SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,
SynCommons, mORMot, mORMotHttpClient, MyTestInterface;