2026-09-25 14:21:55 +08:00
|
|
|
cabal-version: 2.4
|
|
|
|
|
|
2026-10-05 00:15:01 +08:00
|
|
|
name: benchmark4csql
|
2026-09-25 14:21:55 +08:00
|
|
|
version: 1.0.0
|
2026-10-05 00:15:01 +08:00
|
|
|
synopsis: End-to-end ChuSQL benchmarks over TCP
|
|
|
|
|
description: Starts a chusql-server process and benchmarks authentication,
|
|
|
|
|
ping, catalog access, and queries through the newline-delimited
|
|
|
|
|
JSON TCP protocol. Uses the TCP client and shared protocol models;
|
|
|
|
|
query execution and storage remain in the server process.
|
2026-09-25 14:21:55 +08:00
|
|
|
build-type: Simple
|
|
|
|
|
|
2026-10-05 00:15:01 +08:00
|
|
|
executable benchmark4csql
|
2026-09-25 14:21:55 +08:00
|
|
|
main-is: Main.hs
|
|
|
|
|
hs-source-dirs: src
|
2026-10-02 14:53:02 +08:00
|
|
|
build-tool-depends: chusql-server:chusql-server
|
2026-10-03 02:17:46 +08:00
|
|
|
, chusql-bootstrap:csql-bootstrap
|
2026-09-25 14:21:55 +08:00
|
|
|
build-depends: base >= 4.14 && < 5
|
2026-10-02 14:53:02 +08:00
|
|
|
, chusql-core-model
|
|
|
|
|
, chusql-interface
|
2026-09-25 14:21:55 +08:00
|
|
|
, directory
|
|
|
|
|
, filepath
|
|
|
|
|
, process
|
2026-10-02 14:53:02 +08:00
|
|
|
, text
|
2026-09-25 14:21:55 +08:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
ghc-options: -O2 -Wall
|