Comments (1)
So. I have some results. I've learned a big lession today. Don't use cheap Dx11 demos for hook performance tests. It turns out that the demo is calling Present ~8000 times per second. As the detour places a jmp, and my hook jmp's back into the original Present function, it's safe to estimate ~24000 calls per second just for the render function alone. I've also assumed that this overhead would just put load on the CPU, because the real Present function still only gets called 8000 times like before. Well that a mistake as well.
I've just tested a real demanding game to verify, and it turns out that neither Detours 4, nor Minhook had any considerable impact at all. Who would have guessed. However, Detours seemed to handle the load/overhead a bit better than Minhook as the GPU load was ~10% less.
Sigh. Talking about fundamentals. It was basically right in front of my eyes.
Maybe this is a lession for someone else too.
from kiero.
Related Issues (20)
- offer project HOT 2
- When enabling Minhook => Unresolved external symbol MH_DisableHook referenced in function
- is your pc fixed ?
- Unsolved External Symbol HOT 8
- Add support for hooking multiple rendering types HOT 3
- bug HOT 1
- uint150_t is bizarre and does nothing HOT 2
- Examples only work if compiled in Debug mode HOT 1
- include error HOT 1
- fix example?? HOT 2
- dwm.exe hook error HOT 10
- Linker errors HOT 1
- unable to interact with menu in fullscreen application HOT 7
- making http requests on a seaprate thread HOT 1
- kiero init failed with d3d11 HOT 1
- METHODSTABLE.txt multiple methods defined, no way to differentiate HOT 6
- Why not hook present1 api in dx11? HOT 3
- i have a skill issue HOT 4
- need work for d3d11on12
- Any D3D11 code sample ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kiero.