Skip to content

Commit 16bc37d

Browse files
authored
basic idea of profiler added into readme
1 parent 28604d8 commit 16bc37d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Performance profiler for Java Card code
33

44
The performance profiling parts of Java Card applet code is a notoriously difficult task. As the card environment is build to protect stored and processed secrets even against an attacker with direct physical access, it's difficult to obtain precise timing trace for the executed code. We are not aware of any free performance profiler for Java Card platform so we decided to build one.
55

6+
The profiler is based on the following idea: The client-side testing application is executed. The target on-card operation is executed multiple times, but with a different constant (called performance trap ID) specifying what to measure during current call. Depending on the current value of performance trap ID, on-card operation is prematurely interrupted once the the specified performance trap matching provided ID is reached. The corresponding client-side measurements are collected and processed to compute time difference between consecutive traps.
7+
68
The usage is simple:
79
1. Developer signalizes interseting parts of code to profile by insertion of fixed strings
810
2. JCProfiler tool automatically generates all necessary testing code

0 commit comments

Comments
 (0)