Branch: refs/heads/unstable Home: https://github.com/cytoscape/cytoscape.js Commit: 75171c2a8a9c7b359df4f9d5af901abc9312ec8c https://github.com/cytoscape/cytoscape.js/commit/75171c2a8a9c7b359df4f9d5af901abc9312ec8c Author: Max Franz <maxkfr...@gmail.com> Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths: M src/collection/style.js M src/style/apply.js Log Message: ----------- Apply style lazily to elements and avoid reading `ele.pstyle()` in style triggers Ref. Performance improvements re. initial load time #2723 Commit: 8b9167d53c77e5560b0e4b81f219d30af8caf6a9 https://github.com/cytoscape/cytoscape.js/commit/8b9167d53c77e5560b0e4b81f219d30af8caf6a9 Author: Max Franz <maxkfr...@gmail.com> Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M src/extensions/renderer/base/coord-ele-math/labels.js Log Message: ----------- Measure text using estimation and `c2d.measureText()` - This improves performance of text measurement, but it is less accurate. - There is a buffer around text bounds in order to accommodate inaccuracy of `measureText()`. The height of text is entirely estimated. This can be improved in future by using more precise `Context2D` APIs. - The preference for accuracy over performance was probably related to the addition of features like multiline label support. Ref. Performance improvements re. initial load time #2723 Commit: 9a3f38b68341d5b3c6dc636974686de2804dc9b0 https://github.com/cytoscape/cytoscape.js/commit/9a3f38b68341d5b3c6dc636974686de2804dc9b0 Author: Max Franz <maxkfr...@gmail.com> Date: 2020-07-09 (Thu, 09 Jul 2020) Changed paths: M benchmark/collection-creation.js M benchmark/single/index.js A debug/gal.json M debug/tests.js M package.json M src/collection/algorithms/bfs-dfs.js M src/collection/algorithms/hierholzer.js M src/collection/compounds.js M src/collection/element.js M src/collection/filter.js M src/collection/index.js M src/collection/traversing.js M src/extensions/renderer/base/load-listeners.js M src/is.js M src/style/apply.js Log Message: ----------- Subclass `Collection` from `Array` - This improves iteration performance. - Internal functions can use `push()` in place of `merge()` for performance. - A collection's lookup (by ID) map is now built lazily. - Misc. tweaks Ref. Performance improvements re. initial load time #2723 Compare: https://github.com/cytoscape/cytoscape.js/compare/6a12ac50f473...9a3f38b68341 -- You received this message because you are subscribed to the Google Groups "cytoscape-cvs" group. To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-cvs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cytoscape-cvs/cytoscape/cytoscape.js/push/refs/heads/unstable/6a12ac-9a3f38%40github.com.