Support promises in profile
method in bun:jsc
#12165
Merged
profile
method in bun:jsc
#12165