Skip to content

qwang70/recursive_tree_performance

Repository files navigation

recursive_tree_performance

Background

The YesWorkflow project enables scientists to annotate existing code scripts with special YW comments and visualizes the computational modules and dataflows. YesWorkflow originally uses XSB to compute all the relationship between modules and dataflow with recursive query. With SQLite recursive query, we can also do the same job. This raises an interesting question: this XSB performs better than SQLite in recursive query? When the input data is huge, does sqlite runs faster than XSB?

Recursive tree performance experiment

In this experiment, we created a dataset of full binary tree. The data shows the edges of each tree, and the data contains tree of levels from 2 to 20, meaning there're tree with number of nodes from 2^2-1 to 2^20-1.

Run "./make.sh" to reproduce the experiment. It would generate a PNG graph "tree_level_vs_time.png" that shows the tree level and runtime relation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published