Author Topic: interesting benchmark ,virtual,direct,inline ...  (Read 1443 times)

daydreamer

  • Member
  • *****
  • Posts: 1983
  • "follow the blue star!!!"
SIMD fan and macro fan
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Teacher "REAL8 + QWORD is like apples and oranges,you cant mix them"
Student "ofcourse you can,it becomes a fruit salad" :)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9318
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: interesting benchmark ,virtual,direct,inline ...
« Reply #1 on: March 15, 2020, 11:54:28 AM »
Interesting link. :thumbsup:
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

daydreamer

  • Member
  • *****
  • Posts: 1983
  • "follow the blue star!!!"
Re: interesting benchmark ,virtual,direct,inline ...
« Reply #2 on: March 15, 2020, 09:48:59 PM »
Interesting link. :thumbsup:
I find it very interesting because of virtual COM calls in D3d,trying to reduce number of drawprimitive calls,by see how much of geometry could be put together into one TRIANGLESTRIP call
nowadays it is much pixelshaders instead

SIMD fan and macro fan
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Teacher "REAL8 + QWORD is like apples and oranges,you cant mix them"
Student "ofcourse you can,it becomes a fruit salad" :)

LiaoMi

  • Member
  • *****
  • Posts: 1014
Re: interesting benchmark ,virtual,direct,inline ...
« Reply #3 on: March 16, 2020, 07:55:58 AM »
http://assemblyrequired.crashworks.org/how-slow-are-virtual-functions-really/

Hi daydreamer,

saved to the treasury of knowledge, thanks! Inline functions are always faster!  :thumbsup: