@xyo-network/archivist-benchmark-tests 4.1.7 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/archivist-benchmark-tests",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@xylabs/hex": "^4.
|
|
33
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.
|
|
34
|
-
"@xylabs/tsconfig": "^7.0.
|
|
35
|
-
"@xyo-network/archivist-leveldb": "^4.
|
|
36
|
-
"@xyo-network/archivist-lmdb": "^4.
|
|
37
|
-
"@xyo-network/id-payload-plugin": "^4.
|
|
38
|
-
"@xyo-network/payload-builder": "^4.
|
|
39
|
-
"@xyo-network/payload-model": "^4.
|
|
32
|
+
"@xylabs/hex": "^4.14.1",
|
|
33
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.1",
|
|
34
|
+
"@xylabs/tsconfig": "^7.0.1",
|
|
35
|
+
"@xyo-network/archivist-leveldb": "^4.2.0",
|
|
36
|
+
"@xyo-network/archivist-lmdb": "^4.2.0",
|
|
37
|
+
"@xyo-network/id-payload-plugin": "^4.2.0",
|
|
38
|
+
"@xyo-network/payload-builder": "^4.2.0",
|
|
39
|
+
"@xyo-network/payload-model": "^4.2.0",
|
|
40
40
|
"typescript": "^5.8.3",
|
|
41
41
|
"uuid": "^11.1.0",
|
|
42
42
|
"vitest": "^3.2.4"
|
|
@@ -11,8 +11,8 @@ import { v4 } from 'uuid'
|
|
|
11
11
|
import { bench, describe } from 'vitest'
|
|
12
12
|
|
|
13
13
|
describe('LMDB vs LevelDB', () => {
|
|
14
|
-
const missingHash
|
|
15
|
-
const missingHashes
|
|
14
|
+
const missingHash = 'a2069e044136fdf5decb4580b81d2b8ae5c26101d621ec8e2d1c0bbf2f4fbb90' as Hash
|
|
15
|
+
const missingHashes = [
|
|
16
16
|
'a2069e044136fdf5decb4580b81d2b8ae5c26101d621ec8e2d1c0bbf2f4fbb90',
|
|
17
17
|
'66f07db88d4dbaef3c49559ad10604593cabd54431255f8c3a7163f562570b9d',
|
|
18
18
|
'5482f54dca13a1ecfb0c36bd8cf0471045dbaef38f05021a2ea6f13545a7c062',
|
|
@@ -20,7 +20,7 @@ describe('LMDB vs LevelDB', () => {
|
|
|
20
20
|
'1876f2127ac778881fac7fb5354a2c114478fd467e3917835b3281432df1cbf6',
|
|
21
21
|
'655ed3ef5b03601f5ede740607c10281aa982671700d094e50c31b38798931a9',
|
|
22
22
|
'7b1a7ce000163cf0bebe74596b338a1086438f64bbf8f03cb1e9902fd804fa45',
|
|
23
|
-
]
|
|
23
|
+
] as Hash[]
|
|
24
24
|
const totalTestPayloads = 100
|
|
25
25
|
let levelDbArchivist: LevelDbArchivist
|
|
26
26
|
const levelDBArchivistSetup = async () => {
|