OpenGL strange CPU usage


#1

Hello.
And again and again, some OpenGL problems has been discovered. I’ve noticed that is OpenGL engine of the Juce library has extremely high CPU usage. Please take a look at these:
First one is an empty project with OpenGL component (e.g. OpengGLContext just like a Juce demo OpenGL demo) in it. No timer, no threads there, no even a painting at all, but the CPU usage is huge :frowning:

And the second one is the Juce demo project and the widget demo tab opened, and rendering is set to ‘OpenGL’.

So the question is: is that ok? may be i’m loosing something…
Using last GIT branch with Visual Studio 2010 SP1 under Windows 7 SP1. Has been tested under several PC, CPU’s was i5 and i7, and a different videocards.
Thank you.


#2

I beg your pardon. There is nothing to worry about? It is ok? Some kind of my local issue? :oops:


#3

I can’t answer that from what you’ve said… Certainly there are lots of people happily running openGL apps at high speed. Maybe use a proper performance measurement tool and find the hotspot?


#4

May be i’m annoying a bit, but i can’t get how can i measure performance, a time beetween which points of drawing(there is no drawing at all)? The application from the first screenshot it is just a default application that Intorjucer creates. How can i profile this (it is the one and only component in the test app):
Sorry :frowning:

class ScopoNuevo : public Component,
                   public OpenGLRenderer {
public:
	ScopoNuevo () {
        openGLContext.setRenderer (this);
        openGLContext.setComponentPaintingEnabled (true); // affects to nothing in my case :)
        openGLContext.attachTo (*this);
	}

	~ScopoNuevo () {
		openGLContext.detach();
	}

    void newOpenGLContextCreated () {}
    void openGLContextClosing () {}	
    void paint (Graphics&) { }
    void renderOpenGL () { }
    void resized () { }    
private:
	OpenGLContext openGLContext;

};

P.S. if there is some else might test this component i’ll be very happy…


#5

There’s really no point in even discussing performance unless you know how to do real performance profiling. If you’re on Windows, try a tool like VerySleepy, which is free.


#6

There is no reason to be angry. Sorry. :oops: Unfortunately i’ve never had no reason to use profiling, if i’ve faced any doubts about my code performance essues, i’ve used a QueryPerformanceCounter/QueryPerformanceFrequency API calls, and that is was quite enought to me. I will made some test and post them tomorrow(today), it is a bit late at my place 0:30 time to go bed :slight_smile:


#7

No need to be sorry, because I’m not angry! Sorry if it sounded that way!


#8

CVS export from VerySleep. Test was made under Windows XP SP3 and The Juce Demo release version, OpenGL demo tab. Tank you. I’ll better going to sleep…

WaitForSingleObject,3.116174,3.116174,61.835830,61.835830,kernel32,[unknown],0
KiFastSystemCallRet,0.718480,0.718480,14.257165,14.257165,ntdll,[unknown],0
RtlInitializeCriticalSection,0.215096,0.215096,4.268260,4.268260,ntdll,[unknown],0
[00497924],0.096107,0.096107,1.907100,1.907100,JuceDemo,,0
[0053CEE8],0.086388,0.086388,1.714241,1.714241,JuceDemo,,0
DrvSetContext,0.070032,0.169192,1.389681,3.357363,vmwogl32,[unknown],0
[0053CED8],0.067541,0.067541,1.340251,1.340251,JuceDemo,,0
[0053CDF7],0.061211,0.061211,1.214641,1.214641,JuceDemo,,0
wcsncpy,0.036863,0.036863,0.731491,0.731491,ntdll,[unknown],0
glGetColorTableParameterivEXT,0.032630,0.084145,0.647494,1.669732,vmwogl32,[unknown],0
[00497C05],0.030203,0.030203,0.599334,0.599334,JuceDemo,,0
RtlAllocateHeap,0.028319,0.035881,0.561948,0.712005,ntdll,[unknown],0
wglGetExtensionsStringARB,0.027301,0.067082,0.541748,1.331142,vmwogl32,[unknown],0
[0053CEF8],0.027118,0.027118,0.538116,0.538116,JuceDemo,,0
RtlEnterCriticalSection,0.020592,0.020592,0.408618,0.408618,ntdll,[unknown],0
[00497927],0.020489,0.020489,0.406574,0.406574,JuceDemo,,0
[0053CEC8],0.018879,0.018879,0.374626,0.374626,JuceDemo,,0
SwapBuffers,0.018144,0.089127,0.360041,1.768593,GDI32,[unknown],0
[00497EF8],0.017001,0.017001,0.337360,0.337360,JuceDemo,,0
RtlFreeHeap,0.012652,0.025272,0.251060,0.501485,ntdll,[unknown],0
[004980F1],0.010732,0.010732,0.212961,0.212961,JuceDemo,,0
[00497F0C],0.009661,0.009661,0.191708,0.191708,JuceDemo,,0
[0053AEB6],0.008817,0.008817,0.174960,0.174960,JuceDemo,,0
LdrLoadAlternateResourceModule,0.008230,0.008230,0.163312,0.163312,ntdll,[unknown],0
RtlDeleteSecurityObject,0.007884,0.007884,0.156446,0.156446,ntdll,[unknown],0
strchr,0.007659,0.007659,0.151981,0.151981,ntdll,[unknown],0
[0053AEA7],0.007367,0.007367,0.146187,0.146187,JuceDemo,,0
[004980F7],0.005869,0.005869,0.116462,0.116462,JuceDemo,,0
[0053CEF0],0.005031,0.005031,0.099833,0.099833,JuceDemo,,0
[0053CED4],0.004680,0.004680,0.092868,0.092868,JuceDemo,,0
[0053CED0],0.004493,0.004493,0.089157,0.089157,JuceDemo,,0
[0053CDF9],0.004237,0.004237,0.084077,0.084077,JuceDemo,,0
[00405F03],0.004206,0.004206,0.083462,0.083462,JuceDemo,,0
[004980FA],0.003877,0.003877,0.076933,0.076933,JuceDemo,,0
[00535651],0.003339,0.003339,0.066257,0.066257,JuceDemo,,0
glViewport,0.003320,0.003320,0.065880,0.065880,OPENGL32,[unknown],0
[0053CF26],0.003257,0.003257,0.064630,0.064630,JuceDemo,,0
[0053564E],0.003190,0.003190,0.063301,0.063301,JuceDemo,,0
[1000AE48],0.003055,0.003055,0.060622,0.060622,vmwogl32,,0
[1000EA23],0.003054,0.003054,0.060602,0.060602,vmwogl32,,0
[00496EDC],0.002974,0.002974,0.059015,0.059015,JuceDemo,,0
glColor4f,0.002970,0.005002,0.058935,0.099257,vmwogl32,[unknown],0
[00535608],0.002967,0.002967,0.058876,0.058876,JuceDemo,,0
[0053BD86],0.002950,0.002950,0.058538,0.058538,JuceDemo,,0
[004C40CB],0.002945,0.002945,0.058439,0.058439,JuceDemo,,0
RtlLeaveCriticalSection,0.002918,0.002918,0.057903,0.057903,ntdll,[unknown],0
[1000ACCE],0.002910,0.002910,0.057745,0.057745,vmwogl32,,0
[004BD229],0.002910,0.002910,0.057745,0.057745,JuceDemo,,0
[0053C6B5],0.002908,0.002908,0.057705,0.057705,JuceDemo,,0
glEnableClientState,0.002874,0.002874,0.057030,0.057030,OPENGL32,[unknown],0
[004C4087],0.002829,0.002829,0.056137,0.056137,JuceDemo,,0
[0053565E],0.002706,0.002706,0.053697,0.053697,JuceDemo,,0
[0053BA7F],0.002687,0.002687,0.053320,0.053320,JuceDemo,,0
[00535649],0.002684,0.002684,0.053260,0.053260,JuceDemo,,0
[004980F3],0.002684,0.002684,0.053260,0.053260,JuceDemo,,0
[10009A9B],0.002676,0.002676,0.053101,0.053101,vmwogl32,,0
[1000F2DB],0.002656,0.002656,0.052704,0.052704,vmwogl32,,0
[004C2C74],0.002575,0.002575,0.051097,0.051097,JuceDemo,,0
[00497F14],0.002573,0.002573,0.051057,0.051057,JuceDemo,,0
[004971D8],0.002526,0.002526,0.050125,0.050125,JuceDemo,,0
[10002721],0.002502,0.002502,0.049648,0.049648,vmwogl32,,0
[00538155],0.002471,0.002471,0.049033,0.049033,JuceDemo,,0
[00497A9A],0.002460,0.002460,0.048815,0.048815,JuceDemo,,0
[00497A78],0.002445,0.002445,0.048517,0.048517,JuceDemo,,0
[10001C59],0.002442,0.002442,0.048458,0.048458,vmwogl32,,0
[0053AFDB],0.002441,0.002441,0.048438,0.048438,JuceDemo,,0
[0053C88E],0.002438,0.002438,0.048378,0.048378,JuceDemo,,0
[005282F9],0.002422,0.002422,0.048061,0.048061,JuceDemo,,0
[1001197A],0.002378,0.002378,0.047188,0.047188,vmwogl32,,0
[100043C6],0.002350,0.002350,0.046632,0.046632,vmwogl32,,0
[1000EAF5],0.002338,0.002338,0.046394,0.046394,vmwogl32,,0
[0053BF75],0.002325,0.002325,0.046136,0.046136,JuceDemo,,0
[1000C281],0.002321,0.002321,0.046057,0.046057,vmwogl32,,0
[10008B4B],0.002311,0.002311,0.045858,0.045858,vmwogl32,,0
[00555BD4],0.002307,0.002307,0.045779,0.045779,JuceDemo,,0
[0053CDA4],0.002252,0.002252,0.044688,0.044688,JuceDemo,,0
[100026FE],0.002217,0.002217,0.043993,0.043993,vmwogl32,,0
DrvValidateVersion,0.002185,0.002185,0.043358,0.043358,vmwogl32,[unknown],0
[10009A5B],0.002182,0.002182,0.043299,0.043299,vmwogl32,,0
[004C3183],0.002175,0.002175,0.043160,0.043160,JuceDemo,,0
[10004353],0.002154,0.002154,0.042743,0.042743,vmwogl32,,0
[00461303],0.002153,0.338129,0.042723,6.709666,JuceDemo,,0
[0053722F],0.002140,0.002140,0.042465,0.042465,JuceDemo,,0
[0051B8D6],0.002131,0.002131,0.042287,0.042287,JuceDemo,,0
[004BD3A2],0.002125,0.002125,0.042167,0.042167,JuceDemo,,0
[00544CFD],0.002077,0.002077,0.041215,0.041215,JuceDemo,,0
[005383B7],0.002074,0.002074,0.041155,0.041155,JuceDemo,,0
[0053B9EE],0.002069,0.002069,0.041056,0.041056,JuceDemo,,0
[0053566F],0.002066,0.002066,0.040997,0.040997,JuceDemo,,0
[100043E1],0.002065,0.002065,0.040977,0.040977,vmwogl32,,0
[0053D847],0.002061,0.002061,0.040897,0.040897,JuceDemo,,0
[1000528E],0.002054,0.002054,0.040759,0.040759,vmwogl32,,0
[0053AEC5],0.002052,0.002052,0.040719,0.040719,JuceDemo,,0
[0053B9B4],0.002049,0.002049,0.040659,0.040659,JuceDemo,,0
[00535641],0.002033,0.002033,0.040342,0.040342,JuceDemo,,0
[004C2610],0.002015,0.002015,0.039985,0.039985,JuceDemo,,0
[0053CDB2],0.002014,0.002014,0.039965,0.039965,JuceDemo,,0
[1000307E],0.001987,0.001987,0.039429,0.039429,vmwogl32,,0
[00535639],0.001973,0.001973,0.039151,0.039151,JuceDemo,,0
[0049D164],0.001969,0.001969,0.039072,0.039072,JuceDemo,,0
[100034D5],0.001967,0.001967,0.039032,0.039032,vmwogl32,,0
[00497EFF],0.001958,0.001958,0.038854,0.038854,JuceDemo,,0
[004C40BD],0.001956,0.001956,0.038814,0.038814,JuceDemo,,0
[10001DB0],0.001954,0.001954,0.038774,0.038774,vmwogl32,,0
[0053564B],0.001946,0.001946,0.038615,0.038615,JuceDemo,,0
[0049806F],0.001945,0.001945,0.038596,0.038596,JuceDemo,,0
[0053BA53],0.001939,0.001939,0.038477,0.038477,JuceDemo,,0
[004BF0B0],0.001937,0.001937,0.038437,0.038437,JuceDemo,,0
[0053557F],0.001935,0.001935,0.038397,0.038397,JuceDemo,,0
[00535610],0.001931,0.001931,0.038318,0.038318,JuceDemo,,0
[0053B9A4],0.001930,0.001930,0.038298,0.038298,JuceDemo,,0
[0049637D],0.001926,0.001926,0.038219,0.038219,JuceDemo,,0
[0047F4BF],0.001920,0.001920,0.038100,0.038100,JuceDemo,,0
[0053B991],0.001919,0.001919,0.038080,0.038080,JuceDemo,,0
[0053BDAD],0.001892,0.001892,0.037544,0.037544,JuceDemo,,0
[0047F4D3],0.001887,0.001887,0.037445,0.037445,JuceDemo,,0
[00497F5F],0.001884,0.001884,0.037385,0.037385,JuceDemo,,0
[00555CBD],0.001882,0.001882,0.037345,0.037345,JuceDemo,,0
[0047F554],0.001864,0.001864,0.036988,0.036988,JuceDemo,,0
[004BF0DA],0.001855,0.001855,0.036810,0.036810,JuceDemo,,0
[004973FA],0.001830,0.001830,0.036314,0.036314,JuceDemo,,0
[0053CDA8],0.001830,0.001830,0.036314,0.036314,JuceDemo,,0
[004980E5],0.001818,0.001818,0.036076,0.036076,JuceDemo,,0
[10008F82],0.001801,0.001801,0.035738,0.035738,vmwogl32,,0
[0053BD8A],0.001797,0.001797,0.035659,0.035659,JuceDemo,,0
[00497AD3],0.001787,0.001787,0.035460,0.035460,JuceDemo,,0
[0053CDC0],0.001760,0.001760,0.034925,0.034925,JuceDemo,,0
[10009A50],0.001738,0.001738,0.034488,0.034488,vmwogl32,,0
[10010C91],0.001612,0.001612,0.031988,0.031988,vmwogl32,,0
[10001D24],0.001595,0.001595,0.031650,0.031650,vmwogl32,,0
[00555B18],0.001584,0.001584,0.031432,0.031432,JuceDemo,,0
[10008A45],0.001521,0.001521,0.030182,0.030182,vmwogl32,,0
[0047F93D],0.001511,0.001511,0.029984,0.029984,JuceDemo,,0
[1000D181],0.001497,0.001497,0.029706,0.029706,vmwogl32,,0
[0048B16A],0.000000,3.116174,0.000000,61.835830,JuceDemo,,0
[00498086],0.000000,0.005346,0.000000,0.106083,JuceDemo,,0
[00498060],0.000000,0.286668,0.000000,5.688499,JuceDemo,,0
[00497F6A],0.000000,0.002061,0.000000,0.040897,JuceDemo,,0
[0040ACF2],0.000000,0.004553,0.000000,0.090348,JuceDemo,,0
[004C2B34],0.000000,0.004785,0.000000,0.094951,JuceDemo,,0
[004C2B21],0.000000,0.002945,0.000000,0.058439,JuceDemo,,0
[004C2627],0.000000,0.007730,0.000000,0.153390,JuceDemo,,0
[004BF11E],0.000000,0.626219,0.000000,12.426383,JuceDemo,,0
[0049800D],0.000000,0.004367,0.000000,0.086657,JuceDemo,,0
[00497FFD],0.000000,0.247176,0.000000,4.904839,JuceDemo,,0
[00497FED],0.000000,0.035125,0.000000,0.697003,JuceDemo,,0
[0049D3BA],0.000000,0.630011,0.000000,12.501630,JuceDemo,,0
[0049D34E],0.000000,0.015060,0.000000,0.298843,JuceDemo,,0
[0049D2CE],0.000000,0.001969,0.000000,0.039072,JuceDemo,,0
[00469D81],0.000000,0.002193,0.000000,0.043517,JuceDemo,,0
[00497ECE],0.000000,0.074708,0.000000,1.482469,JuceDemo,,0
[00497EBE],0.000000,0.263103,0.000000,5.220887,JuceDemo,,0
[0049C8E9],0.000000,0.002325,0.000000,0.046136,JuceDemo,,0
[0049C748],0.000000,0.004500,0.000000,0.089296,JuceDemo,,0
[00499A89],0.000000,0.002077,0.000000,0.041215,JuceDemo,,0
[100040AB],0.000000,0.309314,0.000000,6.137875,vmwogl32,,0
[1000409A],0.000000,0.004483,0.000000,0.088958,vmwogl32,,0
[10002E7A],0.000000,0.063916,0.000000,1.268318,vmwogl32,,0
[100026E9],0.000000,0.002010,0.000000,0.039885,vmwogl32,,0
[100026BC],0.000000,0.032192,0.000000,0.638802,vmwogl32,,0
[10001DEE],0.000000,0.001987,0.000000,0.039429,vmwogl32,,0
[10001C27],0.000000,0.001946,0.000000,0.038615,vmwogl32,,0
[10001C0C],0.000000,0.298289,0.000000,5.919101,vmwogl32,,0
[0040A49A],0.000000,0.003948,0.000000,0.078342,JuceDemo,,0
[1000ADDB],0.000000,0.032192,0.000000,0.638802,vmwogl32,,0
[1000ACDB],0.000000,0.004778,0.000000,0.094812,vmwogl32,,0
[1000ABA9],0.000000,0.001833,0.000000,0.036373,vmwogl32,,0
[1000AB91],0.000000,0.313797,0.000000,6.226834,vmwogl32,,0
[1000AB1F],0.000000,0.002656,0.000000,0.052704,vmwogl32,,0
[1000AAF9],0.000000,0.012083,0.000000,0.239769,vmwogl32,,0
[1000A9A2],0.000000,0.002656,0.000000,0.052704,vmwogl32,,0
[1000A8F9],0.000000,0.002378,0.000000,0.047188,vmwogl32,,0
[1000A8C9],0.000000,0.009705,0.000000,0.192581,vmwogl32,,0
[10009AE6],0.000000,0.012361,0.000000,0.245286,vmwogl32,,0
[10009A62],0.000000,0.005765,0.000000,0.114398,vmwogl32,,0
[10009A33],0.000000,0.010586,0.000000,0.210063,vmwogl32,,0
[0053BFB2],0.000000,0.374964,0.000000,7.440602,JuceDemo,,0
[100092C9],0.000000,0.003006,0.000000,0.059650,vmwogl32,,0
[0053BF06],0.000000,0.003863,0.000000,0.076655,JuceDemo,,0
[0053BE6D],0.000000,0.115769,0.000000,2.297263,JuceDemo,,0
[0053BDCB],0.000000,0.020175,0.000000,0.400343,JuceDemo,,0
[10008FE1],0.000000,0.006794,0.000000,0.134817,vmwogl32,,0
[0047F54C],0.000000,0.064964,0.000000,1.289114,JuceDemo,,0
[00497C7F],0.000000,0.001884,0.000000,0.037385,JuceDemo,,0
[0049F05C],0.000000,0.001968,0.000000,0.039052,JuceDemo,,0
[0049F021],0.000000,0.003320,0.000000,0.065880,JuceDemo,,0
[0053BA40],0.000000,0.006583,0.000000,0.130630,JuceDemo,,0
[0049D3CA],0.000000,0.002263,0.000000,0.044906,JuceDemo,,0
[0053B9E1],0.000000,0.026814,0.000000,0.532084,JuceDemo,,0
wglMakeCurrent,0.000000,0.052320,0.000000,1.038212,OPENGL32,[unknown],0
[0047F731],0.000000,4.483950,0.000000,88.977307,JuceDemo,,0
[004BDF87],0.000000,0.015060,0.000000,0.298843,JuceDemo,,0
[08DA86EC],0.000000,0.001923,0.000000,0.038159,JuceDemo,,0
[08D960D8],0.000000,0.002193,0.000000,0.043517,JuceDemo,,0
[00730520],0.000000,0.003948,0.000000,0.078342,JuceDemo,,0
[004BDF3A],0.000000,0.015060,0.000000,0.298843,JuceDemo,,0
[004BD974],0.000000,0.015060,0.000000,0.298843,JuceDemo,,0
[0040AC81],0.000000,0.016734,0.000000,0.332061,JuceDemo,,0
[004C36A8],0.000000,0.002575,0.000000,0.051097,JuceDemo,,0
[0054160D],0.000000,4.483950,0.000000,88.977307,JuceDemo,,0
[00541583],0.000000,4.483950,0.000000,88.977307,JuceDemo,,0
[004C3084],0.000000,0.002912,0.000000,0.057784,JuceDemo,,0
[004C307E],0.000000,0.003003,0.000000,0.059590,JuceDemo,,0
[004C2CE4],0.000000,0.002077,0.000000,0.041215,JuceDemo,,0
RtlHashUnicodeString,0.000000,0.002024,0.000000,0.040163,ntdll,[unknown],0
[00497BFE],0.000000,0.022575,0.000000,0.447967,JuceDemo,,0
RtlFindActivationContextSectionString,0.000000,0.002024,0.000000,0.040163,ntdll,[unknown],0
[00497B1D],0.000000,0.002061,0.000000,0.040897,JuceDemo,,0
[0049791D],0.000000,0.052451,0.000000,1.040812,JuceDemo,,0
[004D8631],0.000000,0.002131,0.000000,0.042287,JuceDemo,,0
[004D850E],0.000000,0.004553,0.000000,0.090348,JuceDemo,,0
KiUserCallbackDispatcher,0.000000,0.002934,0.000000,0.058221,ntdll,[unknown],0
[004D8179],0.000000,0.002131,0.000000,0.042287,JuceDemo,,0
[00538AB6],0.000000,0.001835,0.000000,0.036413,JuceDemo,,0
[00538964],0.000000,0.011327,0.000000,0.224767,JuceDemo,,0
[10011A71],0.000000,0.002378,0.000000,0.047188,vmwogl32,,0
[1001199E],0.000000,0.005309,0.000000,0.105349,vmwogl32,,0
[0040A9F0],0.000000,0.005288,0.000000,0.104932,JuceDemo,,0
[0053880C],0.000000,0.005868,0.000000,0.116442,JuceDemo,,0
[004968F1],0.000000,0.001926,0.000000,0.038219,JuceDemo,,0
[00538729],0.000000,0.626219,0.000000,12.426383,JuceDemo,,0
[00538663],0.000000,0.526268,0.000000,10.443004,JuceDemo,,0
[0053864A],0.000000,0.001968,0.000000,0.039052,JuceDemo,,0
[0053B002],0.000000,0.068362,0.000000,1.356542,JuceDemo,,0
[0053AFF9],0.000000,0.075790,0.000000,1.503940,JuceDemo,,0
[0053AFF1],0.000000,0.087912,0.000000,1.744483,JuceDemo,,0
[0053AFE7],0.000000,0.024980,0.000000,0.495691,JuceDemo,,0
[0053840E],0.000000,0.003863,0.000000,0.076655,JuceDemo,,0
[005383F0],0.000000,0.007464,0.000000,0.148112,JuceDemo,,0
[005383BA],0.000000,0.116489,0.000000,2.311551,JuceDemo,,0
[005383AB],0.000000,0.001830,0.000000,0.036314,JuceDemo,,0
[0053AE9A],0.000000,0.001920,0.000000,0.038100,JuceDemo,,0
[004972C5],0.000000,0.001830,0.000000,0.036314,JuceDemo,,0
[0053AD23],0.000000,0.005868,0.000000,0.116442,JuceDemo,,0
[0040AB8B],0.000000,0.002077,0.000000,0.041215,JuceDemo,,0
[0053A708],0.000000,0.052320,0.000000,1.038212,JuceDemo,,0
[0053A341],0.000000,0.001882,0.000000,0.037345,JuceDemo,,0
[0053A295],0.000000,3.116174,0.000000,61.835830,JuceDemo,,0
[0053A276],0.000000,1.367776,0.000000,27.141477,JuceDemo,,0
[0053550F],0.000000,0.002974,0.000000,0.059015,JuceDemo,,0
[005350DE],0.000000,0.001968,0.000000,0.039052,JuceDemo,,0
[00539F1E],0.000000,0.089127,0.000000,1.768593,JuceDemo,,0
[00492422],0.000000,0.002282,0.000000,0.045283,JuceDemo,,0
[0053702A],0.000000,0.001968,0.000000,0.039052,JuceDemo,,0
[00535C87],0.000000,0.002575,0.000000,0.051097,JuceDemo,,0
[00539EBB],0.000000,1.224047,0.000000,24.289389,JuceDemo,,0
[00535AAA],0.000000,0.005868,0.000000,0.116442,JuceDemo,,0
[00535A88],0.000000,0.004307,0.000000,0.085466,JuceDemo,,0
[00535A52],0.000000,0.001330,0.000000,0.026392,JuceDemo,,0
[005359A1],0.000000,0.002209,0.000000,0.043834,JuceDemo,,0
[0040AA2A],0.000000,0.001969,0.000000,0.039072,JuceDemo,,0
[0040A9D4],0.000000,0.001926,0.000000,0.038219,JuceDemo,,0
[0053838C],0.000000,0.001830,0.000000,0.036314,JuceDemo,,0
[0053940C],0.000000,0.006674,0.000000,0.132436,JuceDemo,,0
[005380BD],0.000000,0.623748,0.000000,12.377350,JuceDemo,,0
[00538017],0.000000,0.015778,0.000000,0.313091,JuceDemo,,0
[0053800E],0.000000,0.038731,0.000000,0.768559,JuceDemo,,0
[00537FFF],0.000000,0.471759,0.000000,9.361354,JuceDemo,,0
[00537E82],0.000000,0.001968,0.000000,0.039052,JuceDemo,,0
[005374F9],0.000000,0.003863,0.000000,0.076655,JuceDemo,,0
[00537432],0.000000,0.005549,0.000000,0.110112,JuceDemo,,0
[005393D5],0.000000,0.001879,0.000000,0.037286,JuceDemo,,0
[0047F4DB],0.000000,0.001511,0.000000,0.029984,JuceDemo,,0
[0040A844],0.000000,0.002874,0.000000,0.057030,JuceDemo,,0
[1000173D],0.000000,0.002934,0.000000,0.058221,vmwogl32,,0
[100015E5],0.000000,0.063916,0.000000,1.268318,vmwogl32,,0
[100012A3],0.000000,0.305066,0.000000,6.053580,vmwogl32,,0
[00538D85],0.000000,0.003320,0.000000,0.065880,JuceDemo,,0
[00538C46],0.000000,0.003948,0.000000,0.078342,JuceDemo,,0
DrvReleaseContext,0.000000,0.001833,0.000000,0.036373,vmwogl32,[unknown],0
DrvPresentBuffers,0.000000,0.063916,0.000000,1.268318,vmwogl32,[unknown],0
[00538BEF],0.000000,0.002970,0.000000,0.058935,JuceDemo,,0
[0040ACA2],0.000000,0.004553,0.000000,0.090348,JuceDemo,,0
bsearch,0.000000,0.002024,0.000000,0.040163,ntdll,[unknown],0
RtlValidateUnicodeString,0.000000,0.002024,0.000000,0.040163,ntdll,[unknown],0
GetModuleFileNameA,0.000000,4.483950,0.000000,88.977307,kernel32,[unknown],0
[FFFFFFFF],0.000000,0.007516,0.000000,0.149144,USER32,,0
[00497F09],0.000000,0.287434,0.000000,5.703699,JuceDemo,,0
OffsetRect,0.000000,0.001833,0.000000,0.036373,USER32,[unknown],0
GetMonitorInfoW,0.000000,0.002934,0.000000,0.058221,USER32,[unknown],0
wglSwapLayerBuffers,0.000000,0.052320,0.000000,1.038212,OPENGL32,[unknown],0
[10010C63],0.000000,0.002321,0.000000,0.046057,vmwogl32,,0
[1000F2E6],0.000000,0.002338,0.000000,0.046394,vmwogl32,,0
wglSwapBuffers,0.000000,0.070983,0.000000,1.408552,OPENGL32,[unknown],0
[1000EBE8],0.000000,0.002338,0.000000,0.046394,vmwogl32,,0
[1000EB59],0.000000,0.003054,0.000000,0.060602,vmwogl32,,0
[00535B78],0.000000,0.002974,0.000000,0.059015,JuceDemo,,0
[005358DD],0.000000,0.001968,0.000000,0.039052,JuceDemo,,0
[0053574C],0.000000,0.002193,0.000000,0.043517,JuceDemo,,0
[1000C3FF],0.000000,0.002024,0.000000,0.040163,vmwogl32,,0
[0053572E],0.000000,0.053016,0.000000,1.052024,JuceDemo,,0
[1000B659],0.000000,0.003006,0.000000,0.059650,vmwogl32,,0
[1000AFD3],0.000000,0.002832,0.000000,0.056197,vmwogl32,,0
[1000AFB9],0.000000,0.001981,0.000000,0.039310,vmwogl32,,0
[1000AF90],0.000000,0.002502,0.000000,0.049648,vmwogl32,,0
[1000AF2A],0.000000,0.001992,0.000000,0.039528,vmwogl32,,0
[1000AEEE],0.000000,0.002217,0.000000,0.043993,vmwogl32,,0
[1000AED2],0.000000,0.004335,0.000000,0.086022,vmwogl32,,0
[0053741E],0.000000,0.001968,0.000000,0.039052,JuceDemo,,0
[1000AE3E],0.000000,0.002010,0.000000,0.039885,vmwogl32,,0
[00534BEE],0.000000,0.005844,0.000000,0.115965,JuceDemo,,0
[00534A59],0.000000,0.002209,0.000000,0.043834,JuceDemo,,0
[005372D4],0.000000,0.045990,0.000000,0.912603,JuceDemo,,0
[005372AC],0.000000,0.005549,0.000000,0.110112,JuceDemo,,0
[00537287],0.000000,0.054662,0.000000,1.084686,JuceDemo,,0
[10008F3A],0.000000,0.005103,0.000000,0.101261,vmwogl32,,0
[10008B57],0.000000,0.004483,0.000000,0.088958,vmwogl32,,0
[00537269],0.000000,0.005788,0.000000,0.114854,JuceDemo,,0
[10008A75],0.000000,0.002024,0.000000,0.040163,vmwogl32,,0
[0053724D],0.000000,0.004500,0.000000,0.089296,JuceDemo,,0
[10008A29],0.000000,0.001987,0.000000,0.039429,vmwogl32,,0
[100089DE],0.000000,0.001595,0.000000,0.031650,vmwogl32,,0
[100088BA],0.000000,0.032192,0.000000,0.638802,vmwogl32,,0
[1000535F],0.000000,0.001638,0.000000,0.032504,vmwogl32,,0
[00497AEB],0.000000,0.293959,0.000000,5.833178,JuceDemo,,0
[1000514D],0.000000,0.006904,0.000000,0.137000,vmwogl32,,0
[10004939],0.000000,0.007333,0.000000,0.145512,vmwogl32,,0
[10004476],0.000000,0.002918,0.000000,0.057903,vmwogl32,,0
[004C46CE],0.000000,0.002325,0.000000,0.046136,JuceDemo,,0
[0040AFCF],0.000000,0.649499,0.000000,12.888340,JuceDemo,,0
[0040AA80],0.000000,0.004553,0.000000,0.090348,JuceDemo,,0
[0040AC55],0.000000,0.526268,0.000000,10.443004,JuceDemo,,0
[0040A67F],0.000000,0.658682,0.000000,13.070563,JuceDemo,,0
[0040AAAB],0.000000,0.009889,0.000000,0.196232,JuceDemo,,0
[0040AA54],0.000000,0.649499,0.000000,12.888340,JuceDemo,,0
[0048B1A6],0.000000,4.483950,0.000000,88.977307,JuceDemo,,0
[0040A684],0.000000,0.559521,0.000000,11.102861,JuceDemo,,0
[0040A7FB],0.000000,0.002970,0.000000,0.058935,JuceDemo,,0

#9

I’m totally lacking objective measurements here, but I find my plugin to be very laggy if I switch to OpenGL rendering. You’re not alone alimjan :slight_smile:


#10

Hullo.
I made some test using the Visual Studio 2010 Ultimate Performance tool & VerySleepy tool. Here is the results.
Tests has been done under Windows 7 SP1 (x64) GPU: GeForce GT 630M (latest drivers, duble checked). Strange results by the way… :?
Thank you.