taskease.js - Tasks: task #12092, Forced Feature Degradation (for...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

task #12092: Forced Feature Degradation (for production)

Submitted by:  Mike Gerwitz <mikegerwitz>
Submitted on:  Sun 10 Jun 2012 12:43:40 AM UTC  
 
Should Start On: Fri 26 Aug 2011 04:00:00 AM UTCShould be Finished on: Tue 01 Jan 2013 05:00:00 AM UTC
Category: CorePriority: 6
Item Group: DevelopmentStatus: None
Privacy: PublicAssigned to: Mike Gerwitz <mikegerwitz>
Percent Complete: 0%Open/Closed: Open
Planned Release: None
Keywords: performance

Sun 10 Jun 2012 12:43:40 AM UTC, original submission:

ease.js currently supports feature degradation to support older browsers that cannot take advantage of certain features. For example, to work on IE <= 8, ease.js drops visibility support, but otherwise functions exactly the same.

There's a benefit to this. Performance is increased. Many concepts of Object-Oriented development are very useful during development, but unnecessary during runtime. Visibility is one such concept, unless the runtime environment makes heavy use of external libraries (which would permit breaking encapsulation).

To gain an extra performance boost in production, permit a forced degradation.

In addition, we could also evaluate other features that may not be required in a production environment. For example, one should develop using ease.js in a development mode. This mode will perform necessary validations (e.g. keyword checking, ensuring we don't override non-virtual members, etc). In production, it should be assumed that all problems were caught during development. As such, we can skip keyword checks to further improve class declaration performance.

Care will need to be taken with 3rd-party libraries.

Mike Gerwitz <mikegerwitz>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Digest:
   task dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mikegerwitz (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 10 Jun 2012 12:44:00 AM UTCmikegerwitzDependencies-=>Depends on task #12088
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup