Hacker News new | ask | show | jobs
by sntran 2286 days ago
While ES6 proxies are really nice, I came across this experiment (1) and their tests showed that ES6 proxies can be very bad at performance. I could reproduce the test case. Not sure whether this GraphQL client has some way to optimize.

1. https://thecodebarbarian.com/thoughts-on-es6-proxies-perform...

2 comments

In comparison to the Network request that the GraphQL query will be launching, ES6 Proxy property access performance will be insignificant.
Performance is a major concern for everything I implement. I've made sure proxies are super-fast how I'm using at least.

Plus libraries like mobx already use them, and that's being used everywhere