hintron / computer-enhance

An 8086 simulator in Rust (built during Casey Muratori's Computer Enhance performance-aware programming course)
0 stars 0 forks source link

Gate all log verbosity behind --verbose #46

Open hintron opened 6 months ago

hintron commented 6 months ago

Right now, I print tons of stuff to stdout. I want to squelch all of that unless a verbose flag is specified. That should speed things up a bunch.

hintron commented 6 months ago

Currently, I am averaging an FPS of about 17-18 with a 1024x1024 window and the snake game scaled up to that size. I wonder how much faster I can get it by reducing these prints...

hintron commented 6 months ago

I think I need to split up the verbose flags into a few different types:

There are also prints that are just verbose and should be deleted.