Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311716

Summary: [metatype] Consider optimizing the meta type provider listener
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: CompendiumAssignee: equinox.compendium-inbox <equinox.compendium-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: jwross
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: stalebug

Description Thomas Watson CLA 2010-05-05 08:51:34 EDT
see bug311128 comment 2.  To optimize the filtered listener we should consider using three simple filters instead of a single complex filter to allow the framework to optimize service event delivery.
Comment 1 BJ Hargrave CLA 2010-05-05 09:16:38 EDT
Shouldn't someone measure that 3 listeners performs better than one before premature optimization is done?

The corollary is to use one listener until someone actually demonstrates a performance problem.
Comment 2 Thomas Watson CLA 2010-05-05 10:08:27 EDT
(In reply to comment #1)
> Shouldn't someone measure that 3 listeners performs better than one before
> premature optimization is done?

Absolutely!  That is why I state we should consider doing this :-)

We have already done measurements before where complex filters cause additional filter evaluations for each service events and that can cause performance to reduce if the number of listeners is high.  I imagine the performance gain here will not be high because we are only talking about a single listener.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:10:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 4 Eclipse Genie CLA 2021-09-05 11:21:27 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.