Systrace timing tests:Tes... (16 Jun 2003)
Systrace timing tests:
| Test | Normal | With Systrace |
| getuid | 0.871 | 1.38 |
| getpid | 0.871 | 1.38 |
| stat | 0.871 | 1.38 |
All 3 tests did a million calls of their respective syscalls. The first two were setup in systrace to allow everything. The filesystem test was setup to allow only if a regexp matched.
Conclusion: the overhead is pretty much fixed - and not really that huge unless you are really syscall dependant.