ImperialViolet

Systrace timing tests:Tes... (16 Jun 2003)

Systrace timing tests:

TestNormalWith Systrace
getuid0.8711.38
getpid0.8711.38
stat0.8711.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.