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

daydreamer

  • Member
  • *****
  • Posts: 2095
  • beer glass
SIMD fan and macro fan
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9806
  • 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: 2095
  • beer glass
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."

LiaoMi

  • Member
  • *****
  • Posts: 1032
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: