debrief announcement post#310
Conversation
✅ Deploy Preview for posit-open-source canceled.
|
Publishing checklist
|
hadley
left a comment
There was a problem hiding this comment.
Sorry for putting all my comments on the wrong file 😬
|
|
||
| ## From guessing to measuring | ||
|
|
||
| Prompting an AI agent to make your R code faster, |
There was a problem hiding this comment.
| Prompting an AI agent to make your R code faster, | |
| Prompt an AI agent to make your R code faster, |
| Prompting an AI agent to make your R code faster, | ||
| and it will either declare that a bottleneck exists without evidence, | ||
| or try to use `Rprof()` directly. | ||
| We find that `profvis()` is better and easier to use than `Rprof()` directly, |
There was a problem hiding this comment.
It feels like this sentence is missing something. Like "But the output of profvis is designed for humans, not LLMs" (but you already said that above)
| Especially relevant if the bottleneck is happening in a common function name like `paste()` that is scattered across your package. | ||
| With this, we know exactly which `paste()` call is the culprit. | ||
|
|
||
| Each function in {profvis} also prints the name of the possible next functions to run. |
There was a problem hiding this comment.
| Each function in {profvis} also prints the name of the possible next functions to run. | |
| Each function in {debrief} also prints the name of the possible next functions to run. |
?
| then drilling down as needed. | ||
| Only having to rerun the profiler as needed. | ||
|
|
||
| ## Why Posit Assistant |
There was a problem hiding this comment.
I don't think this needs to be a separate section, and I'd mention it first.
Then describe mcp-repl as a way to do the same thing if you're not using RStudio or Positron, or prefer claude code/codex.
| way to get an agent into your loop. | ||
| Giving you the option to be a bigger part of the process, as it can run in the same session as you. | ||
| The same assistant runs in Positron, RStudio, or the terminal, | ||
| so you can profile interactively or drive the whole loop headlessly from the `pa` CLI. |
There was a problem hiding this comment.
Feel's like this is missing a conclusion? Like linking to a PR where you used debrief to improve performance.
Blog YAML Checks
|
Preview linksBlog listing: https://6a34f02e34af39e240db27f5--posit-open-source.netlify.app/blog/ |
announcement blog post for https://github.com/r-lib/debrief