Client Performance

TextGlass client performance is extremely important. All clients strive for the highest levels of performance and accuracy.

Tests were performed on an Intel Core i7 with warmup iterations for all clients. The C client was compiled with GCC 4.8. The Javascript client was benchmarked using NodeJS 0.12. The reference client (Java) was benchmarked using Java 1.7.

Reference_f domain
Client Domain init classify()
C 16 ms 39 us
Reference (Java) 22 ms 169 us
Javascript 32 ms 204 us

Device domain
Client Domain init classify()
C 12 ms 13 us
Reference (Java) 13 ms 32 us
Javascript 17 ms 46 us