Remove debug lines

This commit is contained in:
Alexandre Bury 2018-06-24 10:56:02 -07:00
parent 9043b177e9
commit a4111accce

View File

@ -716,23 +716,11 @@ impl Cursive {
// Probably, actually. // Probably, actually.
// TODO: Do we need to re-layout everytime? // TODO: Do we need to re-layout everytime?
self.layout(); self.layout();
eprintln!(
"After layout: {:?}",
::std::time::Instant::now() - step_start
);
// TODO: Do we need to redraw every view every time? // TODO: Do we need to redraw every view every time?
// (Is this getting repetitive? :p) // (Is this getting repetitive? :p)
self.draw(); self.draw();
eprintln!(
"After draw: {:?}",
::std::time::Instant::now() - step_start
);
self.backend.refresh(); self.backend.refresh();
eprintln!(
"After refresh: {:?}",
::std::time::Instant::now() - step_start
);
// Wait for next event. // Wait for next event.
if self.received_event { if self.received_event {
@ -793,10 +781,6 @@ impl Cursive {
} }
Interruption::Timeout => {} Interruption::Timeout => {}
} }
eprintln!(
"After event: {:?}",
::std::time::Instant::now() - step_start
);
} }
/// Stops the event loop. /// Stops the event loop.