nodejs / performance

Node.js team focusing on performance
MIT License
376 stars 7 forks source link

V8 Fast Api documentation unclear #126

Open Uzlopak opened 11 months ago

Uzlopak commented 11 months ago

I tried to test the fast api but i could not get it to work, i think. How do you detect that you are actually using the fast api? I tried to use printf but got no output.

What also was not helping was the fact that existing fast api implementation where not like the documented example. So there was no knowledge transfer possible.

Looking forward in clarifying following:

  1. Why doea the example differ from existing examples?
  2. Is it possible to test if we are calling the fast api, like using printf or does it not work, because stdout is not set properly?
debadree25 commented 11 months ago

i have seen printf work for me when trying to use fast api maybe you can try testing it out once for existing fast apis like for URL.canParse()