drym-org / qi

An embeddable flow-oriented language.
58 stars 12 forks source link

Towards proper profiling #162

Closed countvajhula closed 5 months ago

countvajhula commented 5 months ago

Summary of Changes

We use the term "profiling" incorrectly in the SDK to mean "benchmarking." E.g. profiling vs benchmarking. It would be very useful to have proper profiling, in addition to benchmarks.

This PR simply renames uses of profile to benchmark (this was actually done a few months ago) to get us ready for someday having real profiling tools.

Actual profiling would be very useful for identifying performance bottlenecks and working toward improving performance in an informed way. Currently, this PR just adds a make profile Makefile target that echos some helpful information on using raco profile, but it would be ideal to add real profiling features in the SDK down the line, possibly using the feature-specific profiling library (see also the accompanying paper: Feature-Specific Profiling)

Public Domain Dedication

(Why: The freely released, copyright-free work in this repository represents an investment in a better way of doing things called attribution-based economics. Attribution-based economics is based on the simple idea that we gain more by giving more, not by holding on to things that, truly, we could only create because we, in our turn, received from others. As it turns out, an economic system based on attribution -- where those who give more are more empowered -- is significantly more efficient than capitalism while also being stable and fair (unlike capitalism, on both counts), giving it transformative power to elevate the human condition and address the problems that face us today along with a host of others that have been intractable since the beginning. You can help make this a reality by releasing your work in the same way -- freely into the public domain in the simple hope of providing value. Learn more about attribution-based economics at drym.org, tell your friends, do your part.)

countvajhula commented 5 months ago

Thanks for reviewing @benknoble !