Skip to content

Commit ad4be88

Browse files
itsTalwarvpbs2
andauthored
feat: parallel execution of DuckDB Queries using iFrame (#88)
* WIP Parallel exec * Communication Ref * IG manager * WIP * WIP: file register * WIP: parallel memory manager * WIP * Get messages working * Little more fix * It works idk how * fix: duplicate query execution * Late night work * some: cleanup * Added comment * update: cache logic * Feat/parallel exec nik (#83) * Dynamic list * Clear memory and db * Type fix * Clean up and add parsing for JSON * Fix E2E * Remove unwanted file * Remove hardcoding of origin (#85) * Remove hardcoding * Remove unwanted stuff * Remove log * test(parallel-dbm): add tests for parallel dbm (#84) * add: tests * update: path * update: mock * SharedArrayBuffer via Single domain (#86) * Shared Array Paralle ecec * Remove migrations.json * Add logs for debugging * fix(parallel-dbm): fix target and app id (#87) * Shared Array Paralle ecec * Remove migrations.json * Add logs for debugging * fix: app id * update: index html --------- Co-authored-by: itsTalwar <[email protected]> * feat(parallel-dbm): convert json data to shared array (#90) * handle: json shared array * update: method * feat: Clean types and integrate events with runners (#91) * Adding more comments and events * remove as much as possible * Fix types * Reduce the size of iframe and remove unwanted file (#92) * handle: file loader buffer type (#94) * chore(dbm): cleanup parallel dbm (#95) * some cleanup * remove: unwanted change * fix: types * fix: type * fix: test env * fix: test fix attempt 1 * update: test * update: package * fix: build * fix: lint * Use node 18 * Do npm ci instead of install * Fix types * fix: address comments * fix: types * update: ref * update: gc * address comments --------- Co-authored-by: balasaravanan <[email protected]>
1 parent edf1947 commit ad4be88

File tree

84 files changed

+7421
-3932
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+7421
-3932
lines changed

.github/workflows/build-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ jobs:
1212
- uses: actions/checkout@v2
1313
with:
1414
lfs: true
15-
- run: npm install
15+
- name: Use Node.js
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: '18'
19+
- run: npm ci
1620
- run: npx nx run-many --target=build --all --parallel
1721
- run: npx nx run-many --target=test --all --parallel
1822
- run: npx nx run-many --target=lint --all --parallel

.vscode/settings.json

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,36 @@
11
{
2-
"[javascript]": {
3-
"editor.formatOnSave": true,
4-
"editor.defaultFormatter": "esbenp.prettier-vscode"
5-
},
6-
"[javascriptreact]": {
7-
"editor.formatOnSave": true,
8-
"editor.defaultFormatter": "esbenp.prettier-vscode"
9-
},
10-
"[typescript]": {
11-
"editor.formatOnSave": true,
12-
"editor.defaultFormatter": "esbenp.prettier-vscode"
13-
},
14-
"[typescriptreact]": {
15-
"editor.formatOnSave": true,
16-
"editor.defaultFormatter": "esbenp.prettier-vscode"
17-
},
18-
"[mdx]": {
19-
"editor.wordWrap": "bounded",
20-
"editor.wordWrapColumn": 120
21-
},
22-
"[markdown]": {
23-
"editor.wordWrap": "bounded",
24-
"editor.wordWrapColumn": 120
25-
},
26-
"editor.codeActionsOnSave": {
27-
"source.fixAll.eslint": true,
28-
"source.organizeImports": true
29-
},
30-
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
31-
}
32-
2+
"[javascript]": {
3+
"editor.formatOnSave": true,
4+
"editor.defaultFormatter": "esbenp.prettier-vscode"
5+
},
6+
"[javascriptreact]": {
7+
"editor.formatOnSave": true,
8+
"editor.defaultFormatter": "esbenp.prettier-vscode"
9+
},
10+
"[typescript]": {
11+
"editor.formatOnSave": true,
12+
"editor.defaultFormatter": "esbenp.prettier-vscode"
13+
},
14+
"[typescriptreact]": {
15+
"editor.formatOnSave": true,
16+
"editor.defaultFormatter": "esbenp.prettier-vscode"
17+
},
18+
"[mdx]": {
19+
"editor.wordWrap": "bounded",
20+
"editor.wordWrapColumn": 120
21+
},
22+
"[markdown]": {
23+
"editor.wordWrap": "bounded",
24+
"editor.wordWrapColumn": 120
25+
},
26+
"editor.codeActionsOnSave": {
27+
"source.fixAll.eslint": "explicit",
28+
"source.organizeImports": "explicit"
29+
},
30+
"eslint.validate": [
31+
"javascript",
32+
"javascriptreact",
33+
"typescript",
34+
"typescriptreact"
35+
]
36+
}

benchmarking/benchmarking-app/.eslintrc.json renamed to benchmarking/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": ["plugin:@nx/react", "../../.eslintrc.json"],
2+
"extends": ["plugin:@nx/react", "../.eslintrc.json"],
33
"ignorePatterns": ["!**/*"],
44
"overrides": [
55
{

benchmarking/benchmarking-app/.babelrc

Lines changed: 0 additions & 11 deletions
This file was deleted.

benchmarking/benchmarking-app/jest.config.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

benchmarking/benchmarking-app/project.json

Lines changed: 0 additions & 98 deletions
This file was deleted.

benchmarking/benchmarking-app/src/app/constants.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

benchmarking/benchmarking-app/src/app/file-loader/file-loader.tsx

Lines changed: 0 additions & 40 deletions
This file was deleted.

benchmarking/benchmarking-app/webpack.config.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

benchmarking/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>BenchmarkingApp</title>
6+
<base href="/" />
7+
8+
<meta name="viewport" content="width=device-width, initial-scale=1" />
9+
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
10+
<link rel="stylesheet" href="/src/styles.css" />
11+
</head>
12+
<body>
13+
<div id="root"></div>
14+
<script type="module" src="/src/main.tsx"></script>
15+
</body>
16+
</html>

0 commit comments

Comments
 (0)