dat-ecosystem-archive / dat-desktop

Peer to peer data syncronization [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
https://dat.foundation
MIT License
648 stars 69 forks source link

choo render spams the log. #445

Open pmario opened 7 years ago

pmario commented 7 years ago

Hi folks,

I'm new here. .... but on windows choo seems to spam the log with render data.

23:10:23 ⚠️ choo render 50fps 12ms

Is there a way to switch this off?

juliangruber commented 7 years ago

Does it log that a lot? That's also the case on other platforms.

@yoshuawuyts we might want to turn this on only in development though?

pmario commented 7 years ago

it seems to log every second. on ubuntu, it only logs if something is going on ...

pmario commented 7 years ago

we might want to turn this on only in development though?

I did set the environment variable to development

the program is completely unusable on windows and ubuntu for me. So I did activate dev mode. ...

There would be some interesting logs, but I can't investigate them, because of the rendering stuff.

I think there are some initialization problems if you run the program the first time on a new system. I do get some logs that imo should show dat-infos, but they only show undefined

pmario commented 7 years ago

That's what I get at startup on windows.

11:30:20 ? choo DOMContentLoaded undefined .............. D:\git\dat-desktop\node_modules\nanologger\index.js:130
11:30:21 ? choo dats:loaded undefined
juliangruber commented 7 years ago

It should definitely work in Ubuntu, can you open an issue with your findings?

pmario commented 6 years ago

Just tested it on windows 10 with latest master. ... Still have the problem. ... Still trying to find a way to reliably reproduce it :/

juliangruber commented 6 years ago

I think this will be fixed in current choo work by @yoshuawuyts :)