[Vm-dev] [VM-dev] Does reflective call (#perform:) jitted?

Denis Kudriashov dionisiydk at gmail.com
Thu Nov 24 09:21:52 UTC 2016


Hi Eliot

2016-11-23 20:29 GMT+01:00 Eliot Miranda <eliot.miranda at gmail.com>:

> I see.  That adds another path to linking send sites (first invocation of
> a jitted perform: or when linking a send site checking for a perform
> target), and to unblinking send sites on cache flush.  But it's eminently
> doable.  I wonder if we have any volunteers willing to take a look or
> whether it should get added to mine and Clément's lists (which are quite
> full).  Denis, do you have any idea of the kinds of overhead due to perform
> you have in meaningful benchmarks?  My guess is it's a very small part of
> total overhead.


Actually I don't think that it could really impact current UI applications.
it could improve UI performance because bindings to objects are mostly
based on #perform:, But I doubt it could be felt.
But from other side in case of UI send sites will be megamorphic points
because "pluggable" UI components are used with most domain objects during
application runtime.
So my question was more in theoretical field.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20161124/7fc07550/attachment.html>


More information about the Vm-dev mailing list