Skip to content

How to read multiple files properly? #174

Answered by mceachen
enrique-lozano asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the heads-up!

I added some guidance to that thread you linked to, but here are a couple things to keep in mind:

  1. By default, this library only spins up 1/4 the number of CPUs-worth of concurrency. If you're doing a benchmark, use something like new ExifTool({maxProcs: os.cpus().length}).
  2. If you've got, say, 8 hyper-threaded cores, so you set maxProcs: 16, that should be fine on an SSD, but HDDs hate concurrency (especially high levels of concurrency), as the read-head may be physically butterflying across the entire platter continuously to get to all your different files. You may actually see faster performance with lower concurrency in this case.
  3. Make sure you're measuring wha…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@enrique-lozano
Comment options

@mceachen
Comment options

@enrique-lozano
Comment options

Answer selected by mceachen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants