Saturday, May 3, 2025

Profiling Vim9 scripts

What is the status of profiling for Vim9 scripts?

I'm trying to profile a somewhat complex script using

profile start test.prof
profile func *

and getting:

E1271: Compiling closure without context: <lambda>65

Using a more restrictive pattern (e.g., *Foo*, where Foo matches the
name of some method) does not give errors, but the profile is empty.

I do get a profile with `profile! file path/to/some/script.vim` if
I source the script. But I am interested in profiling code from imported
scripts. Is that possible at all?

Life.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/vv5uhb%246u1%241%40ciao.gmane.io.

No comments:

Post a Comment