@epam/uui-db 5.3.0 → 5.4.1

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.
Files changed (103) hide show
  1. package/package.json +5 -5
  2. package/{build/stats.html → stats.html} +1 -1
  3. package/benchmark/results/filter.json +0 -39
  4. package/benchmark/results/pkLookup.json +0 -39
  5. package/benchmark/results/pkUpdate-10.json +0 -51
  6. package/benchmark/results/pkUpdate-100.json +0 -51
  7. package/benchmark/results/pkUpdate-1000.json +0 -51
  8. package/benchmark/results/pkUpdate-10000.json +0 -51
  9. package/benchmark/results/pkUpdate-100000.json +0 -51
  10. package/benchmark/results/pkUpdate-1000000.json +0 -51
  11. package/benchmark/results/query-10.json +0 -63
  12. package/benchmark/results/query-100.json +0 -63
  13. package/benchmark/results/query-1000.json +0 -63
  14. package/benchmark/results/query-10000.json +0 -63
  15. package/benchmark/results/query-100000.json +0 -63
  16. package/benchmark/results/sorting.json +0 -33
  17. package/build/package.json +0 -69
  18. package/build/readme.md +0 -17
  19. package/globals.d.ts +0 -9
  20. package/index.tsx +0 -1
  21. package/src/Db.ts +0 -89
  22. package/src/DbRef.ts +0 -254
  23. package/src/DbTable.ts +0 -264
  24. package/src/IxSet.ts +0 -251
  25. package/src/ListLoadingTracker.ts +0 -131
  26. package/src/Loader.ts +0 -96
  27. package/src/Scheduler.ts +0 -72
  28. package/src/SimpleLoadingTracker.ts +0 -17
  29. package/src/__benchmarks__/filter.ts +0 -50
  30. package/src/__benchmarks__/index.ts +0 -5
  31. package/src/__benchmarks__/pkLookup.ts +0 -33
  32. package/src/__benchmarks__/pkUpdate.ts +0 -75
  33. package/src/__benchmarks__/query.ts +0 -101
  34. package/src/__benchmarks__/sorting.ts +0 -33
  35. package/src/__benchmarks__/testData.ts +0 -15
  36. package/src/__tests__/ListLoadingTracker.test.ts +0 -83
  37. package/src/__tests__/Scheduler.test.ts +0 -24
  38. package/src/__tests__/TaskDb.ts +0 -187
  39. package/src/__tests__/db.test.ts +0 -293
  40. package/src/__tests__/dbRef.test.ts +0 -100
  41. package/src/__tests__/dbTable.test.ts +0 -15
  42. package/src/__tests__/dbViews.test.ts +0 -76
  43. package/src/__tests__/ixSet.perf.test.ts +0 -129
  44. package/src/__tests__/ixSet.test.ts +0 -73
  45. package/src/__tests__/listLoader.test.ts +0 -85
  46. package/src/__tests__/loader.test.ts +0 -92
  47. package/src/__tests__/patchHelpers.test.ts +0 -202
  48. package/src/__tests__/tempIds.test.ts +0 -98
  49. package/src/index.ts +0 -8
  50. package/src/patchHelpers.ts +0 -254
  51. package/src/reactHooks.ts +0 -28
  52. package/src/tempIds.tsx +0 -236
  53. package/src/types.ts +0 -126
  54. package/src/utils.ts +0 -34
  55. package/tsconfig.json +0 -12
  56. /package/{build/index.d.ts → index.d.ts} +0 -0
  57. /package/{build/index.d.ts.map → index.d.ts.map} +0 -0
  58. /package/{build/index.esm.js → index.esm.js} +0 -0
  59. /package/{build/index.esm.js.map → index.esm.js.map} +0 -0
  60. /package/{build/index.js → index.js} +0 -0
  61. /package/{build/index.js.map → index.js.map} +0 -0
  62. /package/{build/src → src}/Db.d.ts +0 -0
  63. /package/{build/src → src}/Db.d.ts.map +0 -0
  64. /package/{build/src → src}/DbRef.d.ts +0 -0
  65. /package/{build/src → src}/DbRef.d.ts.map +0 -0
  66. /package/{build/src → src}/DbTable.d.ts +0 -0
  67. /package/{build/src → src}/DbTable.d.ts.map +0 -0
  68. /package/{build/src → src}/IxSet.d.ts +0 -0
  69. /package/{build/src → src}/IxSet.d.ts.map +0 -0
  70. /package/{build/src → src}/ListLoadingTracker.d.ts +0 -0
  71. /package/{build/src → src}/ListLoadingTracker.d.ts.map +0 -0
  72. /package/{build/src → src}/Loader.d.ts +0 -0
  73. /package/{build/src → src}/Loader.d.ts.map +0 -0
  74. /package/{build/src → src}/Scheduler.d.ts +0 -0
  75. /package/{build/src → src}/Scheduler.d.ts.map +0 -0
  76. /package/{build/src → src}/SimpleLoadingTracker.d.ts +0 -0
  77. /package/{build/src → src}/SimpleLoadingTracker.d.ts.map +0 -0
  78. /package/{build/src → src}/__benchmarks__/filter.d.ts +0 -0
  79. /package/{build/src → src}/__benchmarks__/filter.d.ts.map +0 -0
  80. /package/{build/src → src}/__benchmarks__/index.d.ts +0 -0
  81. /package/{build/src → src}/__benchmarks__/index.d.ts.map +0 -0
  82. /package/{build/src → src}/__benchmarks__/pkLookup.d.ts +0 -0
  83. /package/{build/src → src}/__benchmarks__/pkLookup.d.ts.map +0 -0
  84. /package/{build/src → src}/__benchmarks__/pkUpdate.d.ts +0 -0
  85. /package/{build/src → src}/__benchmarks__/pkUpdate.d.ts.map +0 -0
  86. /package/{build/src → src}/__benchmarks__/query.d.ts +0 -0
  87. /package/{build/src → src}/__benchmarks__/query.d.ts.map +0 -0
  88. /package/{build/src → src}/__benchmarks__/sorting.d.ts +0 -0
  89. /package/{build/src → src}/__benchmarks__/sorting.d.ts.map +0 -0
  90. /package/{build/src → src}/__benchmarks__/testData.d.ts +0 -0
  91. /package/{build/src → src}/__benchmarks__/testData.d.ts.map +0 -0
  92. /package/{build/src → src}/index.d.ts +0 -0
  93. /package/{build/src → src}/index.d.ts.map +0 -0
  94. /package/{build/src → src}/patchHelpers.d.ts +0 -0
  95. /package/{build/src → src}/patchHelpers.d.ts.map +0 -0
  96. /package/{build/src → src}/reactHooks.d.ts +0 -0
  97. /package/{build/src → src}/reactHooks.d.ts.map +0 -0
  98. /package/{build/src → src}/tempIds.d.ts +0 -0
  99. /package/{build/src → src}/tempIds.d.ts.map +0 -0
  100. /package/{build/src → src}/types.d.ts +0 -0
  101. /package/{build/src → src}/types.d.ts.map +0 -0
  102. /package/{build/src → src}/utils.d.ts +0 -0
  103. /package/{build/src → src}/utils.d.ts.map +0 -0
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@epam/uui-db",
3
- "version": "5.3.0",
3
+ "version": "5.4.1",
4
4
  "description": "UUI - client-side relational state cache",
5
5
  "author": "EPAM",
6
6
  "license": "MIT",
7
+ "module": "index.esm.js",
7
8
  "main": "index.js",
8
- "epam:uui:main": "build/index.esm.js",
9
9
  "typings": "index.d.ts",
10
10
  "scripts": {
11
11
  "build": "node ../uui-build/scripts/buildModule",
@@ -14,7 +14,7 @@
14
14
  "prepublish": "yarn build"
15
15
  },
16
16
  "dependencies": {
17
- "@epam/uui-core": "5.3.0",
17
+ "@epam/uui-core": "5.4.1",
18
18
  "@types/lodash.countby": "4.6.6",
19
19
  "@types/lodash.filter": "4.6.6",
20
20
  "@types/lodash.foreach": "4.5.6",
@@ -62,8 +62,8 @@
62
62
  "type": "git",
63
63
  "url": "https://github.com/epam/UUI"
64
64
  },
65
- "gitHead": "8248a65ee62b2a6b3fb065327869cc6f7d756698",
65
+ "gitHead": "5010207dfbd234fcb5b6cf6f2ddccc13471f1861",
66
66
  "publishConfig": {
67
67
  "directory": "build"
68
68
  }
69
- }
69
+ }
@@ -4818,7 +4818,7 @@ var drawChart = (function (exports) {
4818
4818
  </script>
4819
4819
  <script>
4820
4820
  /*<!--*/
4821
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.esm.js","children":[{"name":"build/rollup:/@epam/uui-db","children":[{"name":"src","children":[{"uid":"d5ef-54","name":"types.ts"},{"uid":"d5ef-56","name":"utils.ts"},{"uid":"d5ef-58","name":"Db.ts"},{"uid":"d5ef-62","name":"DbTable.ts"},{"uid":"d5ef-64","name":"patchHelpers.ts"},{"uid":"d5ef-66","name":"tempIds.tsx"},{"uid":"d5ef-68","name":"Loader.ts"},{"uid":"d5ef-70","name":"SimpleLoadingTracker.ts"},{"uid":"d5ef-72","name":"ListLoadingTracker.ts"},{"uid":"d5ef-74","name":"DbRef.ts"},{"uid":"d5ef-76","name":"reactHooks.ts"}]},{"name":"node_modules/tslib/tslib.es6.js","uid":"d5ef-60"}]}]}],"isRoot":true},"nodeParts":{"d5ef-54":{"renderedLength":232,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-53"},"d5ef-56":{"renderedLength":777,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-55"},"d5ef-58":{"renderedLength":2104,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-57"},"d5ef-60":{"renderedLength":2229,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-59"},"d5ef-62":{"renderedLength":6566,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-61"},"d5ef-64":{"renderedLength":6098,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-63"},"d5ef-66":{"renderedLength":6249,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-65"},"d5ef-68":{"renderedLength":2277,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-67"},"d5ef-70":{"renderedLength":291,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-69"},"d5ef-72":{"renderedLength":2894,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-71"},"d5ef-74":{"renderedLength":5956,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-73"},"d5ef-76":{"renderedLength":442,"gzipLength":0,"brotliLength":0,"metaUid":"d5ef-75"}},"nodeMetas":{"d5ef-53":{"id":"/build/rollup:/@epam/uui-db/src/types.ts","moduleParts":{"index.esm.js":"d5ef-54"},"imported":[],"importedBy":[]},"d5ef-55":{"id":"/build/rollup:/@epam/uui-db/src/utils.ts","moduleParts":{"index.esm.js":"d5ef-56"},"imported":[],"importedBy":[]},"d5ef-57":{"id":"/build/rollup:/@epam/uui-db/src/Db.ts","moduleParts":{"index.esm.js":"d5ef-58"},"imported":[],"importedBy":[]},"d5ef-59":{"id":"/build/rollup:/@epam/uui-db/node_modules/tslib/tslib.es6.js","moduleParts":{"index.esm.js":"d5ef-60"},"imported":[],"importedBy":[]},"d5ef-61":{"id":"/build/rollup:/@epam/uui-db/src/DbTable.ts","moduleParts":{"index.esm.js":"d5ef-62"},"imported":[],"importedBy":[]},"d5ef-63":{"id":"/build/rollup:/@epam/uui-db/src/patchHelpers.ts","moduleParts":{"index.esm.js":"d5ef-64"},"imported":[],"importedBy":[]},"d5ef-65":{"id":"/build/rollup:/@epam/uui-db/src/tempIds.tsx","moduleParts":{"index.esm.js":"d5ef-66"},"imported":[],"importedBy":[]},"d5ef-67":{"id":"/build/rollup:/@epam/uui-db/src/Loader.ts","moduleParts":{"index.esm.js":"d5ef-68"},"imported":[],"importedBy":[]},"d5ef-69":{"id":"/build/rollup:/@epam/uui-db/src/SimpleLoadingTracker.ts","moduleParts":{"index.esm.js":"d5ef-70"},"imported":[],"importedBy":[]},"d5ef-71":{"id":"/build/rollup:/@epam/uui-db/src/ListLoadingTracker.ts","moduleParts":{"index.esm.js":"d5ef-72"},"imported":[],"importedBy":[]},"d5ef-73":{"id":"/build/rollup:/@epam/uui-db/src/DbRef.ts","moduleParts":{"index.esm.js":"d5ef-74"},"imported":[],"importedBy":[]},"d5ef-75":{"id":"/build/rollup:/@epam/uui-db/src/reactHooks.ts","moduleParts":{"index.esm.js":"d5ef-76"},"imported":[],"importedBy":[]},"d5ef-77":{"id":"/index.tsx","moduleParts":{},"imported":[{"uid":"d5ef-78"}],"importedBy":[],"isEntry":true},"d5ef-78":{"id":"/src/index.ts","moduleParts":{},"imported":[{"uid":"d5ef-79"},{"uid":"d5ef-80"},{"uid":"d5ef-81"},{"uid":"d5ef-82"},{"uid":"d5ef-83"},{"uid":"d5ef-84"},{"uid":"d5ef-85"},{"uid":"d5ef-86"}],"importedBy":[{"uid":"d5ef-77"}]},"d5ef-79":{"id":"/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-78"},{"uid":"d5ef-85"}]},"d5ef-80":{"id":"/src/Db.ts","moduleParts":{},"imported":[{"uid":"d5ef-84"},{"uid":"d5ef-87"}],"importedBy":[{"uid":"d5ef-78"}]},"d5ef-81":{"id":"/src/DbTable.ts","moduleParts":{},"imported":[{"uid":"d5ef-88"},{"uid":"d5ef-89"},{"uid":"d5ef-90"}],"importedBy":[{"uid":"d5ef-78"}]},"d5ef-82":{"id":"/src/DbRef.ts","moduleParts":{},"imported":[{"uid":"d5ef-88"},{"uid":"d5ef-85"},{"uid":"d5ef-83"},{"uid":"d5ef-84"},{"uid":"d5ef-91"},{"uid":"d5ef-92"},{"uid":"d5ef-90"},{"uid":"d5ef-93"},{"uid":"d5ef-94"}],"importedBy":[{"uid":"d5ef-78"}]},"d5ef-83":{"id":"/src/tempIds.tsx","moduleParts":{},"imported":[{"uid":"d5ef-84"}],"importedBy":[{"uid":"d5ef-78"},{"uid":"d5ef-82"}]},"d5ef-84":{"id":"/src/utils.ts","moduleParts":{},"imported":[{"uid":"d5ef-95"},{"uid":"d5ef-96"},{"uid":"d5ef-97"},{"uid":"d5ef-87"}],"importedBy":[{"uid":"d5ef-78"},{"uid":"d5ef-80"},{"uid":"d5ef-82"},{"uid":"d5ef-83"},{"uid":"d5ef-85"}]},"d5ef-85":{"id":"/src/patchHelpers.ts","moduleParts":{},"imported":[{"uid":"d5ef-79"},{"uid":"d5ef-89"},{"uid":"d5ef-84"},{"uid":"d5ef-98"},{"uid":"d5ef-99"},{"uid":"d5ef-100"},{"uid":"d5ef-101"},{"uid":"d5ef-102"},{"uid":"d5ef-103"},{"uid":"d5ef-104"}],"importedBy":[{"uid":"d5ef-78"},{"uid":"d5ef-82"}]},"d5ef-86":{"id":"/src/reactHooks.ts","moduleParts":{},"imported":[{"uid":"d5ef-105"}],"importedBy":[{"uid":"d5ef-78"}]},"d5ef-87":{"id":"lodash.isequal","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-80"},{"uid":"d5ef-84"}],"isExternal":true},"d5ef-88":{"id":"/Users/Aliaksei_Manetau/WebstormProjects/UUI_new/node_modules/tslib/tslib.es6.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-81"},{"uid":"d5ef-82"},{"uid":"d5ef-94"}]},"d5ef-89":{"id":"immutable","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-81"},{"uid":"d5ef-85"}],"isExternal":true},"d5ef-90":{"id":"@epam/uui-core","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-81"},{"uid":"d5ef-82"}],"isExternal":true},"d5ef-91":{"id":"lodash.isempty","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-82"}],"isExternal":true},"d5ef-92":{"id":"/src/Loader.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-82"}]},"d5ef-93":{"id":"/src/SimpleLoadingTracker.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-82"}]},"d5ef-94":{"id":"/src/ListLoadingTracker.ts","moduleParts":{},"imported":[{"uid":"d5ef-88"}],"importedBy":[{"uid":"d5ef-82"}]},"d5ef-95":{"id":"shallowequal","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-84"}],"isExternal":true},"d5ef-96":{"id":"lodash.zip","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-84"}],"isExternal":true},"d5ef-97":{"id":"lodash.transform","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-84"}],"isExternal":true},"d5ef-98":{"id":"lodash.groupby","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-85"}],"isExternal":true},"d5ef-99":{"id":"lodash.map","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-85"}],"isExternal":true},"d5ef-100":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-85"}],"isExternal":true},"d5ef-101":{"id":"lodash.countby","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-85"}],"isExternal":true},"d5ef-102":{"id":"lodash.filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-85"}],"isExternal":true},"d5ef-103":{"id":"lodash.foreach","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-85"}],"isExternal":true},"d5ef-104":{"id":"lodash.pick","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-85"}],"isExternal":true},"d5ef-105":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"d5ef-86"}],"isExternal":true}},"env":{"rollup":"3.26.2"},"options":{"gzip":false,"brotli":false,"sourcemap":true}};
4821
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.esm.js","children":[{"name":"build/rollup:/@epam/uui-db","children":[{"name":"src","children":[{"uid":"ec3a-54","name":"types.ts"},{"uid":"ec3a-56","name":"utils.ts"},{"uid":"ec3a-58","name":"Db.ts"},{"uid":"ec3a-62","name":"DbTable.ts"},{"uid":"ec3a-64","name":"patchHelpers.ts"},{"uid":"ec3a-66","name":"tempIds.tsx"},{"uid":"ec3a-68","name":"Loader.ts"},{"uid":"ec3a-70","name":"SimpleLoadingTracker.ts"},{"uid":"ec3a-72","name":"ListLoadingTracker.ts"},{"uid":"ec3a-74","name":"DbRef.ts"},{"uid":"ec3a-76","name":"reactHooks.ts"}]},{"name":"node_modules/tslib/tslib.es6.js","uid":"ec3a-60"}]}]}],"isRoot":true},"nodeParts":{"ec3a-54":{"renderedLength":232,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-53"},"ec3a-56":{"renderedLength":777,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-55"},"ec3a-58":{"renderedLength":2104,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-57"},"ec3a-60":{"renderedLength":2229,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-59"},"ec3a-62":{"renderedLength":6566,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-61"},"ec3a-64":{"renderedLength":6098,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-63"},"ec3a-66":{"renderedLength":6249,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-65"},"ec3a-68":{"renderedLength":2277,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-67"},"ec3a-70":{"renderedLength":291,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-69"},"ec3a-72":{"renderedLength":2894,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-71"},"ec3a-74":{"renderedLength":5956,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-73"},"ec3a-76":{"renderedLength":442,"gzipLength":0,"brotliLength":0,"metaUid":"ec3a-75"}},"nodeMetas":{"ec3a-53":{"id":"/build/rollup:/@epam/uui-db/src/types.ts","moduleParts":{"index.esm.js":"ec3a-54"},"imported":[],"importedBy":[]},"ec3a-55":{"id":"/build/rollup:/@epam/uui-db/src/utils.ts","moduleParts":{"index.esm.js":"ec3a-56"},"imported":[],"importedBy":[]},"ec3a-57":{"id":"/build/rollup:/@epam/uui-db/src/Db.ts","moduleParts":{"index.esm.js":"ec3a-58"},"imported":[],"importedBy":[]},"ec3a-59":{"id":"/build/rollup:/@epam/uui-db/node_modules/tslib/tslib.es6.js","moduleParts":{"index.esm.js":"ec3a-60"},"imported":[],"importedBy":[]},"ec3a-61":{"id":"/build/rollup:/@epam/uui-db/src/DbTable.ts","moduleParts":{"index.esm.js":"ec3a-62"},"imported":[],"importedBy":[]},"ec3a-63":{"id":"/build/rollup:/@epam/uui-db/src/patchHelpers.ts","moduleParts":{"index.esm.js":"ec3a-64"},"imported":[],"importedBy":[]},"ec3a-65":{"id":"/build/rollup:/@epam/uui-db/src/tempIds.tsx","moduleParts":{"index.esm.js":"ec3a-66"},"imported":[],"importedBy":[]},"ec3a-67":{"id":"/build/rollup:/@epam/uui-db/src/Loader.ts","moduleParts":{"index.esm.js":"ec3a-68"},"imported":[],"importedBy":[]},"ec3a-69":{"id":"/build/rollup:/@epam/uui-db/src/SimpleLoadingTracker.ts","moduleParts":{"index.esm.js":"ec3a-70"},"imported":[],"importedBy":[]},"ec3a-71":{"id":"/build/rollup:/@epam/uui-db/src/ListLoadingTracker.ts","moduleParts":{"index.esm.js":"ec3a-72"},"imported":[],"importedBy":[]},"ec3a-73":{"id":"/build/rollup:/@epam/uui-db/src/DbRef.ts","moduleParts":{"index.esm.js":"ec3a-74"},"imported":[],"importedBy":[]},"ec3a-75":{"id":"/build/rollup:/@epam/uui-db/src/reactHooks.ts","moduleParts":{"index.esm.js":"ec3a-76"},"imported":[],"importedBy":[]},"ec3a-77":{"id":"/index.tsx","moduleParts":{},"imported":[{"uid":"ec3a-78"}],"importedBy":[],"isEntry":true},"ec3a-78":{"id":"/src/index.ts","moduleParts":{},"imported":[{"uid":"ec3a-79"},{"uid":"ec3a-80"},{"uid":"ec3a-81"},{"uid":"ec3a-82"},{"uid":"ec3a-83"},{"uid":"ec3a-84"},{"uid":"ec3a-85"},{"uid":"ec3a-86"}],"importedBy":[{"uid":"ec3a-77"}]},"ec3a-79":{"id":"/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-78"},{"uid":"ec3a-85"}]},"ec3a-80":{"id":"/src/Db.ts","moduleParts":{},"imported":[{"uid":"ec3a-84"},{"uid":"ec3a-87"}],"importedBy":[{"uid":"ec3a-78"}]},"ec3a-81":{"id":"/src/DbTable.ts","moduleParts":{},"imported":[{"uid":"ec3a-88"},{"uid":"ec3a-89"},{"uid":"ec3a-90"}],"importedBy":[{"uid":"ec3a-78"}]},"ec3a-82":{"id":"/src/DbRef.ts","moduleParts":{},"imported":[{"uid":"ec3a-88"},{"uid":"ec3a-85"},{"uid":"ec3a-83"},{"uid":"ec3a-84"},{"uid":"ec3a-91"},{"uid":"ec3a-92"},{"uid":"ec3a-90"},{"uid":"ec3a-93"},{"uid":"ec3a-94"}],"importedBy":[{"uid":"ec3a-78"}]},"ec3a-83":{"id":"/src/tempIds.tsx","moduleParts":{},"imported":[{"uid":"ec3a-84"}],"importedBy":[{"uid":"ec3a-78"},{"uid":"ec3a-82"}]},"ec3a-84":{"id":"/src/utils.ts","moduleParts":{},"imported":[{"uid":"ec3a-95"},{"uid":"ec3a-96"},{"uid":"ec3a-97"},{"uid":"ec3a-87"}],"importedBy":[{"uid":"ec3a-78"},{"uid":"ec3a-80"},{"uid":"ec3a-82"},{"uid":"ec3a-83"},{"uid":"ec3a-85"}]},"ec3a-85":{"id":"/src/patchHelpers.ts","moduleParts":{},"imported":[{"uid":"ec3a-79"},{"uid":"ec3a-89"},{"uid":"ec3a-84"},{"uid":"ec3a-98"},{"uid":"ec3a-99"},{"uid":"ec3a-100"},{"uid":"ec3a-101"},{"uid":"ec3a-102"},{"uid":"ec3a-103"},{"uid":"ec3a-104"}],"importedBy":[{"uid":"ec3a-78"},{"uid":"ec3a-82"}]},"ec3a-86":{"id":"/src/reactHooks.ts","moduleParts":{},"imported":[{"uid":"ec3a-105"}],"importedBy":[{"uid":"ec3a-78"}]},"ec3a-87":{"id":"lodash.isequal","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-80"},{"uid":"ec3a-84"}],"isExternal":true},"ec3a-88":{"id":"/Users/Aliaksei_Manetau/WebstormProjects/UUI_new2/node_modules/tslib/tslib.es6.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-81"},{"uid":"ec3a-82"},{"uid":"ec3a-94"}]},"ec3a-89":{"id":"immutable","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-81"},{"uid":"ec3a-85"}],"isExternal":true},"ec3a-90":{"id":"@epam/uui-core","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-81"},{"uid":"ec3a-82"}],"isExternal":true},"ec3a-91":{"id":"lodash.isempty","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-82"}],"isExternal":true},"ec3a-92":{"id":"/src/Loader.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-82"}]},"ec3a-93":{"id":"/src/SimpleLoadingTracker.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-82"}]},"ec3a-94":{"id":"/src/ListLoadingTracker.ts","moduleParts":{},"imported":[{"uid":"ec3a-88"}],"importedBy":[{"uid":"ec3a-82"}]},"ec3a-95":{"id":"shallowequal","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-84"}],"isExternal":true},"ec3a-96":{"id":"lodash.zip","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-84"}],"isExternal":true},"ec3a-97":{"id":"lodash.transform","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-84"}],"isExternal":true},"ec3a-98":{"id":"lodash.groupby","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-85"}],"isExternal":true},"ec3a-99":{"id":"lodash.map","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-85"}],"isExternal":true},"ec3a-100":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-85"}],"isExternal":true},"ec3a-101":{"id":"lodash.countby","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-85"}],"isExternal":true},"ec3a-102":{"id":"lodash.filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-85"}],"isExternal":true},"ec3a-103":{"id":"lodash.foreach","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-85"}],"isExternal":true},"ec3a-104":{"id":"lodash.pick","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-85"}],"isExternal":true},"ec3a-105":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"ec3a-86"}],"isExternal":true}},"env":{"rollup":"3.26.2"},"options":{"gzip":false,"brotli":false,"sourcemap":true}};
4822
4822
 
4823
4823
  const run = () => {
4824
4824
  const width = window.innerWidth;
@@ -1,39 +0,0 @@
1
- {
2
- "name": "Filter array",
3
- "date": "2020-04-27T23:32:22.860Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "array.filter, hard-coded",
8
- "ops": 12955,
9
- "margin": 15.71,
10
- "percentSlower": 65.61
11
- },
12
- {
13
- "name": "for-loop, array.push, hard-coded",
14
- "ops": 37675,
15
- "margin": 5.39,
16
- "percentSlower": 0
17
- },
18
- {
19
- "name": "array.filter, getPatternPredicate",
20
- "ops": 5177,
21
- "margin": 5.97,
22
- "percentSlower": 86.26
23
- },
24
- {
25
- "name": "for-loop, array.push, getPatternPredicate",
26
- "ops": 8475,
27
- "margin": 2.9,
28
- "percentSlower": 77.5
29
- }
30
- ],
31
- "fastest": {
32
- "name": "for-loop, array.push, hard-coded",
33
- "index": 1
34
- },
35
- "slowest": {
36
- "name": "array.filter, getPatternPredicate",
37
- "index": 2
38
- }
39
- }
@@ -1,39 +0,0 @@
1
- {
2
- "name": "Find 1 entity by number ID in 100k dataset",
3
- "date": "2020-04-27T20:11:04.585Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "IxSet.byId",
8
- "ops": 3014117,
9
- "margin": 1.7,
10
- "percentSlower": 96.31
11
- },
12
- {
13
- "name": "Map.get",
14
- "ops": 63124014,
15
- "margin": 4.62,
16
- "percentSlower": 22.77
17
- },
18
- {
19
- "name": "hash[id]",
20
- "ops": 81740079,
21
- "margin": 5.07,
22
- "percentSlower": 0
23
- },
24
- {
25
- "name": "I.Map.get(id)",
26
- "ops": 16012303,
27
- "margin": 4.65,
28
- "percentSlower": 80.41
29
- }
30
- ],
31
- "fastest": {
32
- "name": "hash[id]",
33
- "index": 2
34
- },
35
- "slowest": {
36
- "name": "IxSet.byId",
37
- "index": 0
38
- }
39
- }
@@ -1,51 +0,0 @@
1
- {
2
- "name": "Update 1 entity in 10 dataset",
3
- "date": "2020-06-10T00:20:29.497Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "BTree - with()",
8
- "ops": 2978705,
9
- "margin": 5.01,
10
- "percentSlower": 5.35
11
- },
12
- {
13
- "name": "Map - clone with Map(previous)",
14
- "ops": 558526,
15
- "margin": 1.7,
16
- "percentSlower": 82.25
17
- },
18
- {
19
- "name": "hash - spread clone",
20
- "ops": 249073,
21
- "margin": 2.34,
22
- "percentSlower": 92.09
23
- },
24
- {
25
- "name": "I.Map.set(id)",
26
- "ops": 3147234,
27
- "margin": 2.66,
28
- "percentSlower": 0
29
- },
30
- {
31
- "name": "DbTable with single index",
32
- "ops": 123277,
33
- "margin": 1.75,
34
- "percentSlower": 96.08
35
- },
36
- {
37
- "name": "IxSet (with two indexes)",
38
- "ops": 162927,
39
- "margin": 25.12,
40
- "percentSlower": 94.82
41
- }
42
- ],
43
- "fastest": {
44
- "name": "I.Map.set(id)",
45
- "index": 3
46
- },
47
- "slowest": {
48
- "name": "DbTable with single index",
49
- "index": 4
50
- }
51
- }
@@ -1,51 +0,0 @@
1
- {
2
- "name": "Update 1 entity in 100 dataset",
3
- "date": "2020-06-10T00:21:03.138Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "BTree - with()",
8
- "ops": 116933,
9
- "margin": 27.23,
10
- "percentSlower": 88.14
11
- },
12
- {
13
- "name": "Map - clone with Map(previous)",
14
- "ops": 20471,
15
- "margin": 6.95,
16
- "percentSlower": 97.92
17
- },
18
- {
19
- "name": "hash - spread clone",
20
- "ops": 27429,
21
- "margin": 3.1,
22
- "percentSlower": 97.22
23
- },
24
- {
25
- "name": "I.Map.set(id)",
26
- "ops": 986259,
27
- "margin": 5.65,
28
- "percentSlower": 0
29
- },
30
- {
31
- "name": "DbTable with single index",
32
- "ops": 75562,
33
- "margin": 6.54,
34
- "percentSlower": 92.34
35
- },
36
- {
37
- "name": "IxSet (with two indexes)",
38
- "ops": 83516,
39
- "margin": 26.11,
40
- "percentSlower": 91.53
41
- }
42
- ],
43
- "fastest": {
44
- "name": "I.Map.set(id)",
45
- "index": 3
46
- },
47
- "slowest": {
48
- "name": "Map - clone with Map(previous)",
49
- "index": 1
50
- }
51
- }
@@ -1,51 +0,0 @@
1
- {
2
- "name": "Update 1 entity in 1000 dataset",
3
- "date": "2020-06-10T00:21:35.702Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "BTree - with()",
8
- "ops": 706207,
9
- "margin": 3.35,
10
- "percentSlower": 47.66
11
- },
12
- {
13
- "name": "Map - clone with Map(previous)",
14
- "ops": 6183,
15
- "margin": 3.88,
16
- "percentSlower": 99.54
17
- },
18
- {
19
- "name": "hash - spread clone",
20
- "ops": 3288,
21
- "margin": 3.91,
22
- "percentSlower": 99.76
23
- },
24
- {
25
- "name": "I.Map.set(id)",
26
- "ops": 1349376,
27
- "margin": 1.17,
28
- "percentSlower": 0
29
- },
30
- {
31
- "name": "DbTable with single index",
32
- "ops": 98738,
33
- "margin": 2.06,
34
- "percentSlower": 92.68
35
- },
36
- {
37
- "name": "IxSet (with two indexes)",
38
- "ops": 104055,
39
- "margin": 1.43,
40
- "percentSlower": 92.29
41
- }
42
- ],
43
- "fastest": {
44
- "name": "I.Map.set(id)",
45
- "index": 3
46
- },
47
- "slowest": {
48
- "name": "hash - spread clone",
49
- "index": 2
50
- }
51
- }
@@ -1,51 +0,0 @@
1
- {
2
- "name": "Update 1 entity in 10000 dataset",
3
- "date": "2020-06-10T00:22:08.281Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "BTree - with()",
8
- "ops": 610968,
9
- "margin": 2.12,
10
- "percentSlower": 44.02
11
- },
12
- {
13
- "name": "Map - clone with Map(previous)",
14
- "ops": 507,
15
- "margin": 5.07,
16
- "percentSlower": 99.95
17
- },
18
- {
19
- "name": "hash - spread clone",
20
- "ops": 328,
21
- "margin": 1.71,
22
- "percentSlower": 99.97
23
- },
24
- {
25
- "name": "I.Map.set(id)",
26
- "ops": 1091307,
27
- "margin": 1.31,
28
- "percentSlower": 0
29
- },
30
- {
31
- "name": "DbTable with single index",
32
- "ops": 97578,
33
- "margin": 1.23,
34
- "percentSlower": 91.06
35
- },
36
- {
37
- "name": "IxSet (with two indexes)",
38
- "ops": 82949,
39
- "margin": 1.49,
40
- "percentSlower": 92.4
41
- }
42
- ],
43
- "fastest": {
44
- "name": "I.Map.set(id)",
45
- "index": 3
46
- },
47
- "slowest": {
48
- "name": "hash - spread clone",
49
- "index": 2
50
- }
51
- }
@@ -1,51 +0,0 @@
1
- {
2
- "name": "Update 1 entity in 100000 dataset",
3
- "date": "2020-06-10T00:22:41.377Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "BTree - with()",
8
- "ops": 466581,
9
- "margin": 3.57,
10
- "percentSlower": 45.49
11
- },
12
- {
13
- "name": "Map - clone with Map(previous)",
14
- "ops": 22,
15
- "margin": 76.74,
16
- "percentSlower": 100
17
- },
18
- {
19
- "name": "hash - spread clone",
20
- "ops": 28,
21
- "margin": 2.62,
22
- "percentSlower": 100
23
- },
24
- {
25
- "name": "I.Map.set(id)",
26
- "ops": 856025,
27
- "margin": 1.22,
28
- "percentSlower": 0
29
- },
30
- {
31
- "name": "DbTable with single index",
32
- "ops": 95420,
33
- "margin": 1.21,
34
- "percentSlower": 88.85
35
- },
36
- {
37
- "name": "IxSet (with two indexes)",
38
- "ops": 66891,
39
- "margin": 1.96,
40
- "percentSlower": 92.19
41
- }
42
- ],
43
- "fastest": {
44
- "name": "I.Map.set(id)",
45
- "index": 3
46
- },
47
- "slowest": {
48
- "name": "Map - clone with Map(previous)",
49
- "index": 1
50
- }
51
- }
@@ -1,51 +0,0 @@
1
- {
2
- "name": "Update 1 entity in 1000000 dataset",
3
- "date": "2020-06-10T00:23:23.627Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "BTree - with()",
8
- "ops": 426540,
9
- "margin": 2.93,
10
- "percentSlower": 49.03
11
- },
12
- {
13
- "name": "Map - clone with Map(previous)",
14
- "ops": 2,
15
- "margin": 41.32,
16
- "percentSlower": 100
17
- },
18
- {
19
- "name": "hash - spread clone",
20
- "ops": 1,
21
- "margin": 31.08,
22
- "percentSlower": 100
23
- },
24
- {
25
- "name": "I.Map.set(id)",
26
- "ops": 836796,
27
- "margin": 1.77,
28
- "percentSlower": 0
29
- },
30
- {
31
- "name": "DbTable with single index",
32
- "ops": 92720,
33
- "margin": 1.45,
34
- "percentSlower": 88.92
35
- },
36
- {
37
- "name": "IxSet (with two indexes)",
38
- "ops": 55331,
39
- "margin": 1.37,
40
- "percentSlower": 93.39
41
- }
42
- ],
43
- "fastest": {
44
- "name": "I.Map.set(id)",
45
- "index": 3
46
- },
47
- "slowest": {
48
- "name": "hash - spread clone",
49
- "index": 2
50
- }
51
- }
@@ -1,63 +0,0 @@
1
- {
2
- "name": "Find N entities in 10 dataset by departmentId, sorted by name",
3
- "date": "2020-06-10T00:28:09.339Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "Array - scan",
8
- "ops": 3479592,
9
- "margin": 1.52,
10
- "percentSlower": 84.09
11
- },
12
- {
13
- "name": "Array - with filterPredicate/orderComparer",
14
- "ops": 21875683,
15
- "margin": 1.42,
16
- "percentSlower": 0
17
- },
18
- {
19
- "name": "BTree - toArray/scan",
20
- "ops": 4114655,
21
- "margin": 1.38,
22
- "percentSlower": 81.19
23
- },
24
- {
25
- "name": "I.Map - iterable.filter.sort, then toArray",
26
- "ops": 535956,
27
- "margin": 1.05,
28
- "percentSlower": 97.55
29
- },
30
- {
31
- "name": "I.Map - toArray, then filter/sort",
32
- "ops": 699351,
33
- "margin": 1.27,
34
- "percentSlower": 96.8
35
- },
36
- {
37
- "name": "IxSet - with indexes",
38
- "ops": 467251,
39
- "margin": 1.09,
40
- "percentSlower": 97.86
41
- },
42
- {
43
- "name": "IxSet - no indexes",
44
- "ops": 538732,
45
- "margin": 1.15,
46
- "percentSlower": 97.54
47
- },
48
- {
49
- "name": "DbTable - with index",
50
- "ops": 2155399,
51
- "margin": 1.05,
52
- "percentSlower": 90.15
53
- }
54
- ],
55
- "fastest": {
56
- "name": "Array - with filterPredicate/orderComparer",
57
- "index": 1
58
- },
59
- "slowest": {
60
- "name": "IxSet - with indexes",
61
- "index": 5
62
- }
63
- }
@@ -1,63 +0,0 @@
1
- {
2
- "name": "Find N entities in 100 dataset by departmentId, sorted by name",
3
- "date": "2020-06-10T00:28:52.940Z",
4
- "version": "1.0.0",
5
- "results": [
6
- {
7
- "name": "Array - scan",
8
- "ops": 355697,
9
- "margin": 2.46,
10
- "percentSlower": 82.82
11
- },
12
- {
13
- "name": "Array - with filterPredicate/orderComparer",
14
- "ops": 384547,
15
- "margin": 2.49,
16
- "percentSlower": 81.42
17
- },
18
- {
19
- "name": "BTree - toArray/scan",
20
- "ops": 194568,
21
- "margin": 1.36,
22
- "percentSlower": 90.6
23
- },
24
- {
25
- "name": "I.Map - iterable.filter.sort, then toArray",
26
- "ops": 69682,
27
- "margin": 1.16,
28
- "percentSlower": 96.63
29
- },
30
- {
31
- "name": "I.Map - toArray, then filter/sort",
32
- "ops": 118575,
33
- "margin": 1.25,
34
- "percentSlower": 94.27
35
- },
36
- {
37
- "name": "IxSet - with indexes",
38
- "ops": 183918,
39
- "margin": 1.28,
40
- "percentSlower": 91.12
41
- },
42
- {
43
- "name": "IxSet - no indexes",
44
- "ops": 173263,
45
- "margin": 1.08,
46
- "percentSlower": 91.63
47
- },
48
- {
49
- "name": "DbTable - with index",
50
- "ops": 2070193,
51
- "margin": 1.28,
52
- "percentSlower": 0
53
- }
54
- ],
55
- "fastest": {
56
- "name": "DbTable - with index",
57
- "index": 7
58
- },
59
- "slowest": {
60
- "name": "I.Map - iterable.filter.sort, then toArray",
61
- "index": 3
62
- }
63
- }