Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311716 - [metatype] Consider optimizing the meta type provider listener
Summary: [metatype] Consider optimizing the meta type provider listener
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Compendium (show other bugs)
Version: 3.6   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: equinox.compendium-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 08:51 EDT by Thomas Watson CLA
Modified: 2021-09-05 11:21 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.