@neovici/cosmoz-tree
v3.8.1
Published
Element and helper classes to manage tree data structure.
Readme
cosmoz-tree
<cosmoz-tree>
Element and helper classes to manage tree data structure.
Install the Polymer-CLI
First, make sure you have the
Polymer CLI installed. Then run
polymer serve to serve your application locally.
Viewing Your Application
$ polymer serveBuilding Your Application
$ polymer buildThis will create a build/ folder with bundled/ and unbundled/ sub-folders
containing a bundled (Vulcanized) and unbundled builds, both run through HTML,
CSS, and JS optimizers.
You can serve the built versions by giving polymer serve a folder to serve
from:
$ polymer serve build/bundledRunning Tests
$ polymer testYour application is already set up to be tested via web-component-tester. Run polymer test to run
your application's test suite locally.
Running Performance Tests (Local Only)
The repository includes a local-only Node performance suite for large immutable trees.
$ npm run test:perfBy default it runs with tree sizes 10k, 100k, and 500k nodes and prints human-readable benchmark lines.
Example output:
PERF_RESULT api=getNodeByProperty(id) size=10000 coldMs=4.8123 warmMedianMs=0.0008 warmP95Ms=0.0053 speedup=6163.2xTo output JSON rows and summary instead, run:
$ npm run test:perf:jsonThis suite is reporting-only and not intended for CI thresholds, since local hardware and runtime conditions vary.
