porkbuns / shmile

The DIY photobooth, at your service.
75 stars 39 forks source link

Making shmile run without console output #35

Open techyteach-s opened 8 years ago

techyteach-s commented 8 years ago

I'd really like to run shmile without the continuous console outputs that it creates as I find it slows the app down as more and more photo's are taken, id there any way to achieve this? I'm not fantasic with code, and while I can find instances of console.log and remove, this doesn't seem like the best option. I have considered using coffeebar to run the app.coffee with the -s option that suppresses console output, would this work?

andrewhao commented 8 years ago

@techyteach-s - yes, you can suppress console output, although I'm curious how you know that it is the performance culprit - generally, console messages are ephemeral and are discarded by the terminal at an arbitrary point. They take very little memory footprint.

My guess is that there is a bigger issue in terms of performance. However, please run with suppressed console output and report back your results here.

techyteach-s commented 8 years ago

@andrewhao will do, it was simply a thought, as I noticed that later in the evening it had begun to slow down in the graphics on the iPad that was being used as the display, it still took the photos fine, but was jerky in transitions as it ran, showing maybe 2-4 frames of each transition between each photo that was taken.

cmitz commented 7 years ago

You're asking for a deamonized setup as far as I understand. That's very possible.

However, I'm interested in why it affected the iPads performance - the real issue here :p