Quote:
Originally Posted by kovidgoyal
|
I did. In both cases I was making the same calibredb calls:
- Start content server
- calibredb add <entry parameters here>
- calibredb set_metadata -f publisher 'publisher name' id
- calibredb set_custom <field> <id> <value>
- calibredb set_custom <field> <id> <value>
- calibredb set_custom <field> <id> <value>
- calibredb set_custom <field> <id> <value>
- calibredb set_custom <field> <id> <value>
When "--with-library=n:/libraries/rpg-auto", run time was ~20 seconds per entry.
When "--with-library='http://localhost:8080/#rpg-auto'", run time was ~50 seconds per entry.
It does work. It just works very slowly.
If I can instead do the entire add in one call, or do add and set metadata (built-in and custom) in two calls, I expect I can greatly reduce the time needed.
I'm not an efficiency freak, but I think in a use case like mine it could reduce the run time by a factor of four or five, and could reduce a job that I started last weekend to one day (67 hours runtime down to perhaps 15... not quite 'overnight', but two nights or night-and-while-working).