dnaextrim / php_zklib

Attendance Machine Library for PHP with a connection to the network using the UDP protocol and port 4370
http://dnaextrim.github.io/php_zklib/
GNU General Public License v2.0
162 stars 135 forks source link

performance when read in large data #41

Open sangse0911 opened 6 years ago

sangse0911 commented 6 years ago

My fingerprint have much data from 2015, when i use your's package, it takes me a long time when get attendance, can you optimal performance it

yogistraAnderson commented 6 years ago

Some kind of filter would be great, why do we have to get the entire log when we just need data for a few days...a date filter would be great

That should improve performance

kmkmahesh commented 5 years ago

I have 2 Machines one of them has nearly 80k+ logs and another has just 1k+ logs the same code works for logs with 1k+ but not working with 80k+ logs machine. Help me what i need to do that the same code works for both machines.