Skip to content

Commit

Permalink
[mORMot] added test suite with asynchronous Postgres pipelined DB acc…
Browse files Browse the repository at this point in the history
…ess (#8182)

* [mORMot] command line parameter parser from latest mORMot2 is used

* [mormot] added test suite with asynchronous Postgres pipelined DB access

---------

Co-authored-by: pavel.mash <pavel.mash@inbase.com.ua>
  • Loading branch information
pavelmash and pavel.mash committed May 2, 2023
1 parent 6b16e59 commit 968649c
Show file tree
Hide file tree
Showing 3 changed files with 285 additions and 127 deletions.
26 changes: 24 additions & 2 deletions frameworks/Pascal/mormot/benchmark_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"webserver": "None",
"os": "Linux",
"database_os": "Linux",
"display_name": "mormot",
"display_name": "mormot [orm]",
"notes": "",
"versus": "None"
},
Expand All @@ -44,7 +44,29 @@
"webserver": "None",
"os": "Linux",
"database_os": "Linux",
"display_name": "mormot",
"display_name": "mormot [direct]",
"notes": "",
"versus": "None"
},
"postgres-async": {
"dockerfile": "mormot.dockerfile",
"db_url": "/asyncdb",
"query_url": "/asyncqueries?queries=",
"fortune_url": "/asyncfortunes",
"update_url": "/asyncupdates?queries=",
"port": 8080,
"approach": "Realistic",
"classification": "Fullstack",
"database": "postgres",
"framework": "mormot",
"language": "Pascal",
"flavor": "None",
"orm": "Raw",
"platform": "None",
"webserver": "None",
"os": "Linux",
"database_os": "Linux",
"display_name": "mormot [async]",
"notes": "",
"versus": "None"
}
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Pascal/mormot/setup_and_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ echo "Download statics from $URL ..."
wget -qO- "$URL" | tar -xz -C ./libs/mORMot/static

# uncomment for fixed commit URL
URL=https://github.com/synopse/mORMot2/tarball/f430300300ed51f128b32036423d920032628159
URL=https://github.com/synopse/mORMot2/tarball/bda095131d3f848b070981ab155adc9a73c0e75c
#URL="https://api.github.com/repos/synopse/mORMot2/tarball/$USED_TAG"
echo "Download and unpacking mORMot sources from $URL ..."
wget -qO- "$URL" | tar -xz -C ./libs/mORMot --strip-components=1
Expand Down
Loading

0 comments on commit 968649c

Please sign in to comment.