Ethers.js: Feedback: React-Native/Expo performance issue (console.log / loglevel)

Created on 6 Feb 2019  路  4Comments  路  Source: ethers-io/ethers.js

Hi,

A recommendation that could be made on ethers.js RN docs is about console.* performance issue, is to change ethers loglevel to error on development. I've made my app faster after that (each warning was slowing a lot!).

Refs: https://docs.expo.io/versions/latest/react-native/performance/#using-consolelog-statements

documentation

Most helpful comment

Wow... That is insane to me; console.log performance hits?! :p

You are absolutely correct though, I will make that recommendation in the docs. Thanks! :)

All 4 comments

Wow... That is insane to me; console.log performance hits?! :p

You are absolutely correct though, I will make that recommendation in the docs. Thanks! :)

(As a side note, why are you getting so many warnings? Contracts with lots of signature overloading?)

Yes. 3-4 lines from shims and a lot because of contracts w/ functions overloading.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ruzpuz picture ruzpuz  路  26Comments

fmsouza picture fmsouza  路  51Comments

282931 picture 282931  路  42Comments

dev1644 picture dev1644  路  42Comments

fmsouza picture fmsouza  路  44Comments