Commit 22b4384
committed
perf(model-api): INode.tryResolveChildLink was slow on the model server
The meta-model is not available on the model server and INode.concept was throwing exceptions that
where caught in .tryResolveChildLink, but because the method is called a lot the overhead of these
exceptions was significant.1 parent 4ecbbc9 commit 22b4384
File tree
3 files changed
+11
-16
lines changed- model-api/src/commonMain/kotlin/org/modelix/model/api
- mps-model-adapters/src/main/kotlin/org/modelix/model/mpsadapters
3 files changed
+11
-16
lines changedLines changed: 5 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
329 | 331 | | |
330 | 332 | | |
331 | 333 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
| 334 | + | |
337 | 335 | | |
338 | 336 | | |
339 | 337 | | |
| |||
350 | 348 | | |
351 | 349 | | |
352 | 350 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
| 351 | + | |
358 | 352 | | |
359 | 353 | | |
360 | 354 | | |
| |||
370 | 364 | | |
371 | 365 | | |
372 | 366 | | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
| 367 | + | |
378 | 368 | | |
379 | 369 | | |
380 | 370 | | |
| |||
417 | 407 | | |
418 | 408 | | |
419 | 409 | | |
420 | | - | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
0 commit comments