[470599] Refine the performance test

Make sure we only count the semantic elements which are in the workspace
as Ecore.ecore might get "pulled in" as a semantic resource and that
would make the test fail accross different versions of Ecore.ecore (Juno
vs Mars for instance)

Lower the MAX_TIME_TO_OPEN limit from 20 to 15 as multiple executions
have shown that :
- on the Eclipse HIPP server we get a fairly consistent 7 seconds
- on the Obeo Server : about 9 secs
- on various developpers machines : 10/12 seconds

A limit at 15 secs should allow us to catch degradations sooner while
avoiding false-negatives on the various machines.

Bug: 470599
Change-Id: I54956a275f5d79a590db0be643a5342f89672762
Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
1 file changed