Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@
"no-constant-condition": 0,
"no-useless-escape": 0,
"no-console": "error",
"no-restricted-globals": [
"error",
{
"name": "global",
"message": "Use `globalThis` instead"
},
{
"name": "window",
"message": "Use `globalThis` instead"
}
],
"require-yield": 0,
"eqeqeq": ["error", "smart"],
"spaced-comment": [
Expand All @@ -39,7 +50,8 @@
},
"block": {
"exceptions": ["*"]
}
},
"markers": ["/"]
}
],
"capitalized-comments": [
Expand Down Expand Up @@ -80,7 +92,8 @@
],
"pathGroupsExcludedImportTypes": [
"type"
]
],
"newlines-between": "never"
}
],
"@typescript-eslint/no-namespace": 0,
Expand All @@ -102,7 +115,7 @@
"@typescript-eslint/consistent-type-imports": ["error"],
"@typescript-eslint/consistent-type-exports": ["error"],
"no-throw-literal": "off",
"@typescript-eslint/no-throw-literal": ["error"],
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-floating-promises": ["error", {
"ignoreVoid": true,
"ignoreIIFE": true
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/codesee-arch-diagram.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# This workflow was added by CodeSee. Learn more at https://codesee.io/
# This is v2.0 of this workflow file
on:
push:
branches:
- master
- staging
pull_request_target:
types: [opened, synchronize, reopened]

Expand All @@ -18,3 +20,4 @@ jobs:
- uses: Codesee-io/codesee-action@v2
with:
codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
codesee-url: https://app.codesee.io
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ build:windows:
- ./scripts/choco-install.ps1
- refreshenv
- npm install --ignore-scripts
- $env:Path = "$(npm bin);" + $env:Path
- $env:Path = "$(npm root)\.bin;" + $env:Path
- npm run prebuild --verbose
- npm test -- --ci --coverage
- npm run bench
Expand Down Expand Up @@ -221,7 +221,7 @@ build:macos:
- ./scripts/brew-install.sh
- hash -r
- npm install --ignore-scripts
- export PATH="$(npm bin):$PATH"
- export PATH="$(npm root)/.bin:$PATH"
- npm run prebuild --verbose
- npm test -- --ci --coverage
- npm run bench
Expand Down
14 changes: 7 additions & 7 deletions benches/results/db_1KiB.chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</head>
<body>
<div class="container">
<canvas id="chart1658405673774" width="16" height="9"></canvas>
<canvas id="chart1687684087088" width="16" height="9"></canvas>
</div>
<script>
const format = (num) => {
Expand All @@ -51,18 +51,18 @@
chunked.map((chunk) => chunk.join('')).join(' ') + fractionStr
)
}
const ctx1658405673774 = document
.getElementById('chart1658405673774')
const ctx1687684087088 = document
.getElementById('chart1687684087088')
.getContext('2d')
const chart1658405673774 = new Chart(ctx1658405673774, {
const chart1687684087088 = new Chart(ctx1687684087088, {
type: 'bar',
data: {
labels: ["get 1 KiB of data","put 1 KiB of data","put zero data","put zero data then del"],
datasets: [
{
data: [48563,39043,40984,21108],
backgroundColor: ["hsl(120, 85%, 55%)","hsl(96.48, 85%, 55%)","hsl(101.268, 85%, 55%)","hsl(52.163999999999994, 85%, 55%)"],
borderColor: ["hsl(120, 85%, 55%)","hsl(96.48, 85%, 55%)","hsl(101.268, 85%, 55%)","hsl(52.163999999999994, 85%, 55%)"],
data: [47519,32985,35687,17917],
backgroundColor: ["hsl(120, 85%, 55%)","hsl(83.29199999999999, 85%, 55%)","hsl(90.11999999999999, 85%, 55%)","hsl(45.24, 85%, 55%)"],
borderColor: ["hsl(120, 85%, 55%)","hsl(83.29199999999999, 85%, 55%)","hsl(90.11999999999999, 85%, 55%)","hsl(45.24, 85%, 55%)"],
borderWidth: 2,
},
],
Expand Down
Loading