Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
profiling
03-26-2010, 03:33 AM,
#6
 
Oh, I forgot to mention. The data is from the bullet branch. But it shouldn't matter as I didn't modify the scenegraph code.

I am testing it on a Windows 7 x64 machine(Athlon 64 X2). The VC9 build is compiled with /Ox. It is in fact about 20-30% slower than the GCC4.4.3 -O3 build.

Here the GCC build profile:
Code:
time   seconds   seconds  calls ms/call ms/call  name    
26.43     23.14    23.14                             SCENENODE::GetCollapsedDrawList(std::map<DRAWABLE_FILTER*, std::vector<SCENEDRAW, std::allocator<SCENEDRAW> >, std::less<DRAWABLE_FILTER*>, std::allocator<std::pair<DRAWABLE_FILTER* const, std::vector<SCENEDRAW, std::allocator<SCENEDRAW> > > > >&, MATRIX4<float> const&) const
18.22     39.09    15.95                             GRAPHICS_SDLGL::RENDER_INPUT_SCENE::FrustumCull(SCENEDRAW&) const
  3.16     41.86     2.77                             GRAPHICS_SDLGL::RENDER_INPUT_SCENE::DrawList(GRAPHICS_SDLGL::GLSTATEMANAGER&)
  2.86     44.36     2.50                             GRAPHICS_SDLGL::GLSTATEMANAGER::Set(int, bool)
  2.79     46.80     2.44                             __gnu_cxx::__exchange_and_add(int volatile*, int)
  2.78     49.23     2.43                             GRAPHICS_SDLGL::RENDER_INPUT_SCENE::SelectTransformStart(SCENEDRAW&, GRAPHICS_SDLGL::GLSTATEMANAGER&)
  2.46     51.38     2.15                             GRAPHICS_SDLGL::RENDER_INPUT_SCENE::SelectFlags(SCENEDRAW&, GRAPHICS_SDLGL::GLSTATEMANAGER&)
  2.35     53.44     2.06                             std::_Rb_tree_increment(std::_Rb_tree_node_base*)
  2.27     55.43     1.99                             GRAPHICS_SDLGL::RENDER_INPUT_SCENE::SelectTexturing(SCENEDRAW&, GRAPHICS_SDLGL::GLSTATEMANAGER&)
  1.90     57.09     1.66                             std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned int)
  1.85     58.71     1.62                             std::string::append(std::string const&)
  1.60     60.11     1.40                             TEXTURE_GL::Activate() const
  1.31     61.26     1.15                             std::string::append(char const*, unsigned int)
  1.27     62.37     1.11                             std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)
  1.23     63.45     1.08                             std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  1.20     64.50     1.05                             __gnu_cxx::__atomic_add(int volatile*, int)
  1.07     65.44     0.94                             std::string::reserve(unsigned int)
Funny huh? Will profile vdrift trunk asap.

Quote:About the texture stuff ...
Yeah, I think it's just me not trusting the OpenGL drivers on Windows. :lol:
Reply


Messages In This Thread
profiling - by NaN - 03-25-2010, 08:47 PM
[No subject] - by NaN - 03-25-2010, 08:50 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-25-2010, 10:20 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-25-2010, 10:37 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-25-2010, 10:47 PM
[No subject] - by NaN - 03-26-2010, 03:33 AM
[No subject] - by NaN - 03-28-2010, 06:18 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-28-2010, 11:48 AM
[No subject] - by NaN - 03-28-2010, 07:28 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-30-2010, 10:22 AM
[No subject] - by NaN - 05-19-2010, 06:57 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-20-2010, 06:42 PM
[No subject] - by NaN - 05-21-2010, 03:49 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-21-2010, 12:09 PM
[No subject] - by NaN - 07-19-2010, 04:25 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-19-2010, 10:36 AM
[No subject] - by NaN - 12-23-2010, 09:32 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-23-2010, 09:08 PM
[No subject] - by thelusiv - 12-24-2010, 10:42 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-24-2010, 01:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)