Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an example of a callback called recursively #7

Open
AlanSl opened this issue Feb 22, 2018 · 0 comments
Open

Create an example of a callback called recursively #7

AlanSl opened this issue Feb 22, 2018 · 0 comments

Comments

@AlanSl
Copy link
Contributor

AlanSl commented Feb 22, 2018

Based on a discussion with Mathias, we want to see how Bubbleprof handles common patterns where a callback is being called recursively, to see how we should best treat these in terms of sums, averages and quantiles.

So some application including something like (pseudocode)

fn a (n, callback)
  if (n > 0) setTimeout(a, n--, callback)
  else callback()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants