mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
a test with flat buffers (#2520)
feat: a test with flat buffers Also, add an experimental flag `--experimental_flat_json` that allows writing json objects as flat strings using flexibuffers. The experiment shows that `debug populate 100000 a 10 type json elements 30` uses almost 3 times less memory than with native jsoncons objects. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
a06d40567b
commit
bcae2dfb46
7 changed files with 152 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "helio",
|
||||
"name": "alpine-dev",
|
||||
"image": "ghcr.io/romange/alpine-dev",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
|
@ -10,11 +10,13 @@
|
|||
"twxs.cmake"
|
||||
],
|
||||
"settings": {
|
||||
"cmake.buildDirectory": "${workspaceFolder}/build-alpine"
|
||||
"cmake.buildDirectory": "/build",
|
||||
"cmake.configureArgs": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"mounts": [
|
||||
"source=alpine-vol,target=/root,type=volume"
|
||||
]
|
||||
"source=alpine-vol,target=/build,type=volume"
|
||||
],
|
||||
"postCreateCommand": ".devcontainer/alpine/post-create.sh ${containerWorkspaceFolder}"
|
||||
}
|
||||
|
|
5
.devcontainer/alpine/post-create.sh
Executable file
5
.devcontainer/alpine/post-create.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
containerWorkspaceFolder=$1
|
||||
git config --global --add safe.directory ${containerWorkspaceFolder}/helio
|
||||
mkdir -p /root/.local/share/CMakeTools
|
Loading…
Add table
Add a link
Reference in a new issue