You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've performed some tests and after optimizing as much as possible all code that does not depend on nfctools library and the best I achieve is a read done in 1.31 seconds for Mifare 1K card and 5.6 seconds for a Mifare 4K card, that, without even reading sector trailer, if not it would be worse, there are programs to read Mifare cards that do it in half of time or even better also reading sector trailer.
It has been, indeed, checked that main cause is the reader.readBlock(access)[0]; as it gives the following times to read each block, and a total that can be seen once all is read (time for that 1.31 seconds operation).
I've performed some tests and after optimizing as much as possible all code that does not depend on nfctools library and the best I achieve is a read done in 1.31 seconds for Mifare 1K card and 5.6 seconds for a Mifare 4K card, that, without even reading sector trailer, if not it would be worse, there are programs to read Mifare cards that do it in half of time or even better also reading sector trailer.
It has been, indeed, checked that main cause is the reader.readBlock(access)[0]; as it gives the following times to read each block, and a total that can be seen once all is read (time for that 1.31 seconds operation).
Block read in: 40.0 miliseconds
Block read in: 31.0 milisecond
Block read in: 26.0 miliseconds
Block read in: 27.0 miliseconds
[...]
After all blocks are read, the accumulated time is:
Total time accumulated: 1295.0 miliseconds
I think that it would be needed to reduce time each block takes to read by half, so, at least a decent time to read card is achieved.
Would it be possible to optimize read operation to achieve better times?
The text was updated successfully, but these errors were encountered: