moonfire-nvr/src/cmds
Scott Lamb ce363162f4 trim 16 bytes from each recording::Segment
This reduces the working set by another 960 bytes for a typical one-hour recording, improving cache efficiency a bit more.

8 bytes from SampleIndexIterator:
   * reduce the three "bytes" fields to two. Doing so as "bytes_key" vs
     "bytes_nonkey" slowed it down a bit, perhaps because the "bytes" is
     needed right away and requires a branch. But "bytes" vs "bytes_other"
     seems fine. Looks like it can do this with cmovs in parallel with other
     stuff.
   * stuff "is_key" into the "i" field.

8 bytes from recording::Segment itself:
   * make "frames" and "key_frame" u16s
   * stuff "trailing_zero" into "video_sample_entry_id"
2017-02-27 21:14:06 -08:00
..
config fix "Edit retention" fs capacity calculation 2017-02-12 20:45:46 -08:00
upgrade benchmark camera page, fix broken schema 2017-02-12 20:37:03 -08:00
check.rs trim 16 bytes from each recording::Segment 2017-02-27 21:14:06 -08:00
init.rs new command to initialize a database 2017-01-17 14:21:13 -08:00
mod.rs new "moonfire-nvr config" subcommand 2017-02-05 19:58:41 -08:00
run.rs new command to initialize a database 2017-01-17 14:21:13 -08:00
ts.rs use xsv-style subcommands like "moonfire-nvr run" 2017-01-17 12:51:56 -08:00