[wp-trac] [WordPress Trac] #22316: Plugin Dependencies (Yet Another Plugin Dependencies Ticket)
WordPress Trac
noreply at wordpress.org
Tue Oct 30 20:42:50 UTC 2012
#22316: Plugin Dependencies (Yet Another Plugin Dependencies Ticket)
--------------------------+------------------------------
Reporter: Viper007Bond | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 3.4.2
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------------------
Comment (by Viper007Bond):
Replying to [comment:28 MikeSchinkel]:
> Another question to ponder is: ''"How much overhead does each plugin add
vs. using require() or a class auto-loader?"'' Will 100 plugins being
activated slow down a site vs. `require()`ing 100 PHP files? If so, we
may seriously consider a "library" concept instead of or in addition to
plugin dependencies.
Why don't you test and see? ;)
Active plugins being loaded are just done via an <code>include()</code> or
<code>require()</code>. There's basically no difference. For that matter
the include itself has a trivial amount of overhead.
As the saying goes, it's quality not quantity. You could run 500 plugins
if you wanted to.
But this is off-topic from this ticket. :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22316#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list