Skip to content

Update project structure to align with node v18 and new async-locks #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 26, 2023
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
16 changes: 14 additions & 2 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 Down Expand Up @@ -81,7 +92,8 @@
],
"pathGroupsExcludedImportTypes": [
"type"
]
],
"newlines-between": "never"
}
],
"@typescript-eslint/no-namespace": 0,
Expand All @@ -103,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
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,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 test -- --ci --coverage
- npm run bench
artifacts:
Expand All @@ -192,14 +192,14 @@ build:macos:
stage: build
needs: []
tags:
- shared-macos-amd64
image: macos-11-xcode-12
- saas-macos-medium-m1
image: macos-12-xcode-14
script:
- eval "$(brew shellenv)"
- ./scripts/brew-install.sh
- hash -r
- npm install --ignore-scripts
- export PATH="$(npm bin):$PATH"
- export PATH="$(npm root)/.bin:$PATH"
- npm test -- --ci --coverage
- npm run bench
artifacts:
Expand Down
14 changes: 7 additions & 7 deletions benches/results/crypto_100KiB.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="chart1661148325685" width="16" height="9"></canvas>
<canvas id="chart1687794239503" width="16" height="9"></canvas>
</div>
<script>
const format = (num) => {
Expand All @@ -51,18 +51,18 @@
chunked.map((chunk) => chunk.join('')).join(' ') + fractionStr
)
}
const ctx1661148325685 = document
.getElementById('chart1661148325685')
const ctx1687794239503 = document
.getElementById('chart1687794239503')
.getContext('2d')
const chart1661148325685 = new Chart(ctx1661148325685, {
const chart1687794239503 = new Chart(ctx1687794239503, {
type: 'bar',
data: {
labels: ["encrypt 100 KiB of data","decrypt 100 KiB of data","encrypt 100 KiB of data with workers","decrypt 100 KiB of data with workers"],
datasets: [
{
data: [130,135,96,92],
backgroundColor: ["hsl(115.56, 85%, 55%)","hsl(120, 85%, 55%)","hsl(85.332, 85%, 55%)","hsl(81.78000000000002, 85%, 55%)"],
borderColor: ["hsl(115.56, 85%, 55%)","hsl(120, 85%, 55%)","hsl(85.332, 85%, 55%)","hsl(81.78000000000002, 85%, 55%)"],
data: [169,170,125,146],
backgroundColor: ["hsl(119.292, 85%, 55%)","hsl(120, 85%, 55%)","hsl(88.236, 85%, 55%)","hsl(103.056, 85%, 55%)"],
borderColor: ["hsl(119.292, 85%, 55%)","hsl(120, 85%, 55%)","hsl(88.236, 85%, 55%)","hsl(103.056, 85%, 55%)"],
borderWidth: 2,
},
],
Expand Down
Loading