On a singular case v8 fast api degrades performance on v8 13.6

41 views
Skip to first unread message

Yagiz Nizipli

unread,
May 3, 2025, 4:06:18 PMMay 3
to v8-dev
We have an example of a regression caused by a v8 fast api addition. I think it's worth investigating: https://github.com/nodejs/node/pull/58080

On a singular case, text-encoder performance is decreased by 8.5%.

util/text-encoder.js op='encodeInto' type='ascii' n=1000000 len=32                    ***     -8.50 %       ±2.68% ±3.57% ±4.64% 

Andreas Haas

unread,
May 5, 2025, 1:21:39 AMMay 5
to v8-...@googlegroups.com
I replied to the pull request. At a first glance the results are not at all surprising, as you are using the "fast API" in a situation where using the "fast API" makes no sense.

--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/v8-dev/9ec3014a-fcd3-4b74-b8be-db2e922f8222n%40googlegroups.com.


--

Andreas Haas

Software Engineer

ah...@google.com


Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Liana Sebastian

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.

    

This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.


Reply all
Reply to author
Forward
0 new messages