https://www.boundaryml.com logo
Playground
# questions
v
Since moving to 202 - playground has been really sluggish in Cursor. I am resorting lot more to CLI to run. My guess is that it is enumerating all the tests in the breadcrumb or sth else. Second, it ends up running a different test the one I click on run test.
a
When you click on run test code lens? Cc @seawatts
s
Thanks @vga_ looking into this this week.
a
@vga_ your prompts have a bunch of unions right?
we found an issue where the playground slows down when you have some unions -- we will fix that one
can you try to update the extension to 0.203.1?
let me know if 1) the sluggishness is still there 2) the run-test bug is still there
v
1. still slow 2. code lens do not show up and i need to click on baml to get it running 3. then code lens will show up, click and wait, shows a different test 4. change the test in teh drop down and takes a long time in UI 5. I am still using command line for tests. https://cdn.discordapp.com/attachments/1399423748972609658/1402088118932344833/image.png?ex=6892a3d1&is=68915251&hm=8d72ea1582a2e20d4a6827a48ad53be4d3e3d89cb12bed6cbd81ba0dee7b357a&
@aaronv (BAML) after moving to 203.1 ^
a
How big is your baml src in kilobytes?
And roughly how many baml functions?
v
- BAML Functions: 43 functions - BAML Tests: 99 tests
The baml_src directory is 9,044 KB (approximately 8.8 MB).
a
Do you load any big images as well in tests?
From other directories
v
lots of large documetns in tets
no images
if it is reading the full prompt
a
Do you have time for a quick call? Whenever works (now or later this week)
v
call me
a
Ok one sec
@vga_ were you on a Mac?
v
yes
a
one more question -- sorry i havent been able to repro. Do you have a lot of images in your test cases? If you temporarily delete a bunch of the baml files with tests does it get faster?
I'm asking the community for repro baml_src's. Will try some other things
v
i do not have lot of images, just lot of tests, some of the tests have long text. still having issues with 205. Giving up using playground as of now