This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git.
from 0d5496f fix typos, clarify (#15512) add 8e1c0fe perf(dataset): improve name-gen perf for high dim data. add 85ee886 refact(data): separate List to DataStorage and SeriesData add deafca7 refact(data): fix some typo bugs add 973b70d refact(data): fix downsample add ed75a2e refact(data): indices should not keep after clone add 6c07c45 refact(data): share storage on same dataset. add 1d4be90 refact: optimize createDimensions. update test add 63c4177 refact(data): fix several issues in storage sharing add 027cf16 refact(data): cant reuse storage if ordinalMeta is different add 2cac7ca refact(data): fix seriesLayoutBy and sourceHeader add 2a8b198 refact(data): fix chunk not exists when data is empty. add 8b2e48b refact(dim): remove completeDimensions add 7739a95 refact(data): only pick necessary dimensions when using dataset add ff7498a refact(data): add back appendValues. fix ut add 83bc2d9 refact(data): fix createDimensions multiple times cause default encode wrong. add bf059ad refact(data): share source instance with dataset add 50d430d refact(data): not clone store if possible add 53113c4 refact(data): omit unused dimensions in createDimensions add 7573ceb refact(data): try to cache dim name map in complete dimensions add 0349b87 refact(data): fix type from dataset may incorrect. add e9e6077 refact(data): fix storage clone lost indices. add 325a5c9 Merge branch 'master' into dataset-perf add 345402d refact: don't recreate data storage when converting float to time add e026f3f refact(data): fix marker add 3475b9c refact(data): fix some extent calc issues add 23548b8 test(ut): add path alias for root dir add 1d8da4a refact(data): getValues from storage. add unit test add 7dd81e1 refact(data): add missing unit test update add 48044f0 Merge branch 'master' into dataset-perf add 8abf642 merge from master add d0217e1 Merge branch 'master' into dataset-perf add 015e272 fix(series): only get encode from series. not from global add 3b6857f refact(data): tweak some misleading code add cfcb981 style: update comments add 4ea973b style: improve comments add 8766830 Merge branch 'master' into dataset-perf add 3de73ab chore: update zrender to latest nightly version add 3c09b59 fix(data): fix some code review issues add 0d5886b refact(data): create data storage after dimensions prepared. add 5bc0c51 refact(data): optimize stack on high dimension data add 90a369c refact(data): add ordinaMeta to the dimensions key add c91d711 fix typo add b785031 refact(data): reverse the optimization of genName add 690647c refact(data): remove duplication of name generally add 6bed301 refact(data): create default dimensions for dataset add e252249 refact(data): add dimension name to the key. add 9d6c597 refact(data): tweak dimension hash generation add bfeb495 revert name gen logic add 40e9590 fix wrong fromZero logic in createDimensions add ae9226e refact(data): compatibility with exists echarts-gl code. add 7819423 Merge branch 'master' into dataset-perf add 8e6bd68 refact(data): fix wrong index when only using part of the dimensions in SeriesData add 2bf188f refact(data): fix unexpected code removement add 10aed78 fix: fix createDimension result might container name:undefined when dimensions more than 30. add dffeb3a **There are these issues existing before this commit:** (1). If no dimensions specified on dataset, series can not really share one storage instance. (Because the each series will create its own dimension name (like ['x', 'y', 'value'], ['x', 'value', 'y'], and the storage hash is based on those names. So the hash can not match). (2). Each time `setOption` update series (but not change `dataset`), new data stack dimensions (and corresponding chunks) will be keep added to [...] add 5e38220 update eslint-plugin version add c7d5734 Merge branch 'master' into dataset-perf add 39c7111 fix: rename `SeriesDimensionRequest` to `SeriesDataSchema`. add 8aacfd1 fix: remove deprecated of some method of SeriesData. They are widely used by extensions. add 15f217a fix: revert dis/echarts.js.map (mistakenly committed previously) add 6e0a254 fix: update package-lock to fix ci fail (previous commit only commit package.json, for update eslint-plugin version, for npm run checktype fail, for old tslib that the eslint-plugin used in the old version). add 1e3f1ad fix: rename to make name shorter. add dd48619 fix: rename shorter. add f26ccae fix: rename DataStorage -> dataStore and some other renames. add 136a97c fix: fix some issues brought by refactor. add afafc7b fix: other rename of data storage -> data store add ea7b2ec fix: fix and add test cases. add 75dc3ab fix: add test case. add 4d1b252 fix: fix issue brought by previous refactor. add c0bb629 fix: tweak test case. add 53fa03d fix: fix ut. new 4569dc1 Merge pull request #15355 from apache/dataset-perf The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: package-lock.json | 204 +- package.json | 4 +- src/animation/universalTransition.ts | 18 +- src/chart/bar/BarSeries.ts | 10 +- src/chart/bar/BarView.ts | 24 +- src/chart/bar/BaseBarSeries.ts | 8 +- src/chart/bar/PictorialBarView.ts | 16 +- src/chart/boxplot/BoxplotView.ts | 8 +- src/chart/candlestick/CandlestickSeries.ts | 4 +- src/chart/candlestick/CandlestickView.ts | 8 +- src/chart/candlestick/candlestickLayout.ts | 61 +- src/chart/custom/CustomSeries.ts | 8 +- src/chart/custom/CustomView.ts | 22 +- src/chart/effectScatter/EffectScatterSeries.ts | 10 +- src/chart/funnel/FunnelSeries.ts | 8 +- src/chart/funnel/FunnelView.ts | 10 +- src/chart/funnel/funnelLayout.ts | 6 +- src/chart/gauge/GaugeSeries.ts | 8 +- src/chart/gauge/GaugeView.ts | 4 +- src/chart/graph/GraphSeries.ts | 14 +- src/chart/graph/GraphView.ts | 4 +- src/chart/graph/circularLayoutHelper.ts | 4 +- src/chart/heatmap/HeatmapSeries.ts | 8 +- src/chart/helper/EffectLine.ts | 14 +- src/chart/helper/EffectPolyline.ts | 4 +- src/chart/helper/EffectSymbol.ts | 6 +- src/chart/helper/LargeLineDraw.ts | 4 +- src/chart/helper/LargeSymbolDraw.ts | 12 +- src/chart/helper/Line.ts | 12 +- src/chart/helper/LineDraw.ts | 10 +- src/chart/helper/Polyline.ts | 12 +- src/chart/helper/Symbol.ts | 12 +- src/chart/helper/SymbolDraw.ts | 12 +- src/chart/helper/createGraphFromNodeEdge.ts | 23 +- ...{createListFromArray.ts => createSeriesData.ts} | 147 +- ...eateListSimply.ts => createSeriesDataSimply.ts} | 20 +- src/chart/helper/labelHelper.ts | 12 +- src/chart/helper/whiskerBoxCommon.ts | 8 +- src/chart/line/LineSeries.ts | 8 +- src/chart/line/LineView.ts | 22 +- src/chart/line/helper.ts | 6 +- src/chart/line/lineAnimationDiff.ts | 6 +- src/chart/lines/LinesSeries.ts | 4 +- src/chart/lines/LinesView.ts | 6 +- src/chart/lines/linesVisual.ts | 6 +- src/chart/map/MapSeries.ts | 10 +- src/chart/map/mapDataStatistic.ts | 4 +- src/chart/parallel/ParallelSeries.ts | 8 +- src/chart/parallel/ParallelView.ts | 10 +- src/chart/pie/PieSeries.ts | 8 +- src/chart/pie/PieView.ts | 10 +- src/chart/radar/RadarSeries.ts | 8 +- src/chart/radar/RadarView.ts | 10 +- src/chart/sankey/SankeySeries.ts | 7 +- src/chart/sankey/SankeyView.ts | 4 +- src/chart/scatter/ScatterSeries.ts | 10 +- src/chart/scatter/ScatterView.ts | 4 +- src/chart/sunburst/SunburstSeries.ts | 4 +- src/chart/themeRiver/ThemeRiverSeries.ts | 10 +- src/chart/themeRiver/themeRiverLayout.ts | 4 +- src/chart/tree/TreeSeries.ts | 8 +- src/chart/tree/TreeView.ts | 12 +- src/chart/treemap/TreemapSeries.ts | 4 +- src/component/dataZoom/AxisProxy.ts | 14 +- src/component/helper/MapDraw.ts | 4 +- src/component/marker/MarkAreaView.ts | 26 +- src/component/marker/MarkLineView.ts | 24 +- src/component/marker/MarkPointView.ts | 19 +- src/component/marker/MarkerModel.ts | 10 +- src/component/marker/markerHelper.ts | 55 +- src/component/timeline/SliderTimelineModel.ts | 4 +- src/component/timeline/TimelineModel.ts | 6 +- src/component/tooltip/TooltipHTMLContent.ts | 2 +- src/component/visualMap/ContinuousModel.ts | 2 +- src/component/visualMap/ContinuousView.ts | 2 +- src/component/visualMap/PiecewiseModel.ts | 2 +- src/component/visualMap/VisualMapModel.ts | 41 +- src/component/visualMap/visualEncoding.ts | 9 +- src/coord/axisHelper.ts | 6 +- src/coord/axisModelCreator.ts | 3 - src/coord/cartesian/Grid.ts | 4 +- src/coord/parallel/Parallel.ts | 4 +- src/core/Scheduler.ts | 4 +- src/core/task.ts | 6 +- src/data/DataStore.ts | 1297 +++++++++++ src/data/Graph.ts | 8 +- src/data/List.ts | 2258 -------------------- src/data/OrdinalMeta.ts | 4 + src/data/SeriesData.ts | 1508 +++++++++++++ ...taDimensionInfo.ts => SeriesDimensionDefine.ts} | 25 +- src/data/Source.ts | 82 +- src/data/Tree.ts | 18 +- src/data/helper/SeriesDataSchema.ts | 267 +++ src/data/helper/completeDimensions.ts | 328 --- src/data/helper/createDimensions.ts | 392 +++- src/data/helper/dataProvider.ts | 90 +- src/data/helper/dataStackHelper.ts | 103 +- src/data/helper/dataValueHelper.ts | 9 +- src/data/helper/dimensionHelper.ts | 77 +- src/data/helper/linkList.ts | 170 +- src/data/helper/{linkList.ts => linkSeriesData.ts} | 50 +- src/data/helper/sourceManager.ts | 126 +- src/data/helper/transform.ts | 1 - src/echarts.ts | 2 +- src/export/api.ts | 4 +- src/export/api/helper.ts | 6 +- src/label/labelStyle.ts | 4 +- src/layout/barGrid.ts | 27 +- src/layout/points.ts | 14 +- src/model/Series.ts | 57 +- src/model/mixin/dataFormat.ts | 25 +- src/processor/dataStack.ts | 29 +- src/scale/Log.ts | 4 +- src/scale/Ordinal.ts | 4 +- src/scale/Scale.ts | 4 +- src/util/model.ts | 8 +- src/util/states.ts | 4 +- src/util/types.ts | 37 +- src/view/Chart.ts | 4 +- src/visual/LegendVisualProvider.ts | 10 +- src/visual/aria.ts | 2 +- src/visual/commonVisualTypes.ts | 2 +- src/visual/helper.ts | 8 +- src/visual/symbol.ts | 6 +- src/visual/visualSolution.ts | 14 +- test/bar-stack.html | 358 +++- test/dataset-case.html | 746 +++++++ test/dataset-performance.html | 220 ++ test/lib/reset.css | 1 + test/lib/testHelper.js | 4 + test/runTest/actions/__meta__.json | 3 +- test/runTest/actions/bar-stack.json | 2 +- test/runTest/actions/dataset-case.json | 1 + test/runTest/blacklist.js | 4 +- test/sankey.html | 90 +- test/timeline-event.html | 2 +- test/ut/jest.config.js | 8 +- test/ut/spec/data/List.test.ts | 557 ----- test/ut/spec/data/SeriesData.test.ts | 585 +++++ ...Dimensions.test.ts => createDimensions.test.ts} | 437 ++-- test/ut/spec/data/dataTransform.test.ts | 6 +- test/ut/spec/data/dataValueHelper.test.ts | 2 +- test/ut/spec/model/Global.test.ts | 12 +- test/ut/spec/model/componentDependency.test.ts | 4 +- test/ut/spec/model/componentMissing.test.ts | 10 +- test/ut/spec/model/timelineMediaOptions.test.ts | 12 +- test/ut/spec/scale/interval.test.ts | 10 +- test/ut/spec/series/custom.test.ts | 6 +- test/ut/spec/util/graphic.test.ts | 2 +- test/ut/spec/util/layout.test.ts | 4 +- test/ut/spec/util/model.test.ts | 2 +- test/ut/spec/util/number.test.ts | 2 +- test/ut/tsconfig.json | 7 +- 153 files changed, 6896 insertions(+), 4508 deletions(-) rename src/chart/helper/{createListFromArray.ts => createSeriesData.ts} (51%) rename src/chart/helper/{createListSimply.ts => createSeriesDataSimply.ts} (67%) create mode 100644 src/data/DataStore.ts delete mode 100644 src/data/List.ts create mode 100644 src/data/SeriesData.ts rename src/data/{DataDimensionInfo.ts => SeriesDimensionDefine.ts} (85%) create mode 100644 src/data/helper/SeriesDataSchema.ts delete mode 100644 src/data/helper/completeDimensions.ts copy src/data/helper/{linkList.ts => linkSeriesData.ts} (75%) create mode 100644 test/dataset-case.html create mode 100644 test/dataset-performance.html create mode 100644 test/runTest/actions/dataset-case.json delete mode 100644 test/ut/spec/data/List.test.ts create mode 100644 test/ut/spec/data/SeriesData.test.ts rename test/ut/spec/data/{completeDimensions.test.ts => createDimensions.test.ts} (63%) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org