bugGnash - The GNU Flash player - Bugs: bug #22488, GC performance issue with physic...

 
 

bug #22488: GC performance issue with physic simulation

Submitted by:  Sandro Santilli <strk>
Submitted on:  Wed 05 Mar 2008 10:04:01 AM UTC  
 
Category:  core Severity:  3 - Normal
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 28 Sep 2010 10:20:42 AM UTC, comment #3:

It works okay, not really a bug.

Benjamin Wolsey <bwy>
Project Member
Thu 06 Mar 2008 08:33:23 PM UTC, comment #2:

After recent changes GC is not the bottleneck anymore,
altought this movie allocates a lot of temporary objects,
which are only deleted on next GC run.

property names lookup seems it now..

Flat profile:

Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
5.10 1.79 1.79 42837330 0.00 0.00 gnash::iterator_find(boost::multi_index::multi_index_container<gnash::Property, boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::composite_key<gnash::Property, boost::multi_index::member<gnash::Property, unsigned int, &(gnash::Property::mName)>, boost::multi_index::member<gnash::Property, unsigned int, &(gnash::Property::mNamespace)>, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, mpl_::na, mpl_::na>, boost::multi_index::ordered_unique<boost::multi_index::tag<gnash::PropertyList::oType, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, boost::multi_index::member<gnash::Property, int, &(gnash::Property::mOrderId)>, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, std::allocator<gnash::Property> >&, unsigned int, unsigned int)
4.39 3.33 1.54 15945070 0.00 0.00 gnash::string_table::find(std::string const&, bool)
2.85 4.33 1.00 16286053 0.00 0.00 agg::rasterizer_cells_aa<agg::cell_style_aa>::line(int, int, int, int)
2.17 5.09 0.76 865405 0.00 0.00 gnash::ActionExec::operator()()

Sandro Santilli <strk>
Project Member
Wed 05 Mar 2008 10:27:01 AM UTC, comment #1:

Garbage collector is the bottleneck..

Flat profile:

Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
10.53 0.18 0.18 51 0.00 0.01 gnash::GC::collect()
7.60 0.31 0.13 882765 0.00 0.00 gnash::PropertyList::setReachable() const
5.26 0.40 0.09 1130813 0.00 0.00 gnash::PropertyList::getProperty(unsigned int, unsigned int)
4.09 0.47 0.07 777364 0.00 0.00 gnash::string_table::find(std::string const&, bool)
4.09 0.54 0.07 49 0.00 0.00 gnash::GC::cleanUnreachable()
4.09 0.61 0.07 2400970 0.00 0.00 gnash::Property::setReachable() const

Sandro Santilli <strk>
Project Member
Wed 05 Mar 2008 10:04:01 AM UTC, original submission:

http://www.upscale.utoronto.ca/GeneralInterest/Harrison/Flash/EM/LightWave/Wave.html

"An electric charge is executing simple harmonic motion, and the animation shows the electric field lines around it. Requires Flash 6 and a computer with reasonable power; file size is 40k."

Sandro Santilli <strk>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   task dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bwy (Posted a comment)
  • -email is unavailable- added by strk (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-28 bwy Open/ClosedOpen => Closed
    2010-09-28 bwy StatusNone => Fixed
    2008-03-05 strk Dependencies- => Depends on task #7831
    2008-03-05 strk CategoryActionScript => core
        Summaryhigh cpu usage with physic simulation => GC performance issue with physic simulation
    2008-03-05 strk CategoryNone => ActionScript

    Back to the top


    Powered by Savane 3.3