You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"name":"where_field_integer_gte_lte","samples":100,"projection":"FULL","condition":{"sql":"number >= 18 AND number <= 21","mysql":"number >= 18 AND number <= 21","neo4j":"r.number >= 18 AND r.number <= 21","mongodb":{"number":{"$gte":18,"$lte":21}},"arangodb":"r.number >= 18 AND r.number <= 21","surrealdb":"number >= 18 AND number <= 21"},"index":{"fields":["number"]}},
219
+
{"name":"where_field_fulltext_single","samples":100,"projection":"FULL","limit":1000,"condition":{"sql":"to_tsvector('english', words) @@ to_tsquery('english', 'hello')","mysql":"MATCH(words) AGAINST('hello' IN NATURAL LANGUAGE MODE)","neo4j":"hello","mongodb":{"$text":{"$search":"hello"}},"surrealdb":"words @@ 'hello'"},"index":{"fields":["words"],"index_type":"fulltext"}},
220
+
{"name":"where_field_fulltext_multi_and","samples":100,"projection":"FULL","limit":1000,"condition":{"sql":"to_tsvector('english', words) @@ to_tsquery('english', 'hello & world')","mysql":"MATCH(words) AGAINST('+hello +world' IN NATURAL LANGUAGE MODE)","neo4j":"hello AND world","mongodb":{"$text":{"$search":"hello world"}},"surrealdb":"words @@ 'hello' AND words @@ 'world'"},"index":{"fields":["words"],"index_type":"fulltext"}},
221
+
{"name":"where_field_fulltext_multi_or","samples":100,"projection":"FULL","limit":1000,"condition":{"sql":"to_tsvector('english', words) @@ to_tsquery('english', 'foo | bar')","mysql":"MATCH(words) AGAINST('foo bar' IN NATURAL LANGUAGE MODE)","neo4j":"foo OR bar","mongodb":{"$text":{"$search":"foo bar"}},"surrealdb":"words @@ 'foo' OR words @@ 'bar'"},"index":{"fields":["words"],"index_type":"fulltext"}}
222
+
]
210
223
strategy:
211
224
fail-fast: false
212
225
matrix:
@@ -315,20 +328,22 @@ jobs:
315
328
description: SQLite
316
329
# SurrealDB + Memory
317
330
- name: surrealdb-memory
318
-
database: surrealdb-memory
331
+
database: surrealdb
332
+
endpoint: -e server:memory
319
333
enabled: true
320
334
description: SurrealDB with in-memory storage
321
335
# SurrealDB + RocksDB
322
336
- name: surrealdb-rocksdb
323
-
database: surrealdb-rocksdb
337
+
database: surrealdb
338
+
endpoint: -e server:rocksdb
324
339
enabled: true
325
340
description: SurrealDB with RocksDB storage
326
341
# SurrealDB + SurrealKV
327
342
- name: surrealdb-surrealkv
328
-
database: surrealdb-surrealkv
329
-
enabled: false
343
+
database: surrealdb
344
+
endpoint: -e server:surrealkv
345
+
enabled: true
330
346
description: SurrealDB with SurrealKV storage
331
-
skipped: SurrealDB with SurrealKV storage benchmark awaiting fixes
When benchmarking SurrealDB (including `surrealdb`, `surrealdb-memory`, `surrealdb-rocksdb`, `surrealdb-surrealkv`, and `surrealds`), you can configure authentication credentials using environment variables.
512
+
When benchmarking SurrealDB (including `surrealdb`, and `surrealds`), you can configure authentication credentials using environment variables.
These environment variables are used in two scenarios:
538
520
539
-
1.**Docker Container Startup**: When crud-bench automatically starts a SurrealDB Docker container, it uses these credentials to configure the database server (applies to `surrealdb-memory`, `surrealdb-rocksdb`, and `surrealdb-surrealkv`)
521
+
1.**Docker Container Startup**: When crud-bench automatically starts a SurrealDB Docker container (`-d surrealdb` with no endpoint, or with `-e server:rocksdb` / `-e server:memory` / `-e server:surrealkv`), it uses these credentials to configure the database server
540
522
2.**Client Authentication**: When connecting to SurrealDB instances (both embedded and networked), the benchmark client uses these credentials to authenticate
0 commit comments