This project is read-only.

Fast Invoker v1.1

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 947
Released: May 5, 2009
Updated: May 5, 2009 by HFadeel
Dev status: Stable Help Icon

Recommended Download

Source Code Fast Invoker Source code
source code, 61K, uploaded May 5, 2009 - 809 downloads

Other Available Downloads

Application Fast Invoker release dll
application, 11K, uploaded May 5, 2009 - 138 downloads

Release Notes

This version 1.0 of Fast Invoker that provide very fast and dynamic methods invoke, Properties and Field Accessor.
It's stable.

How it work:
I Emit/Write IL code at runtime to invoke the method, access the property/field and this make it fast
instead of using .NET Refraction framework. and it's faster than many other Invoker frameworks becuase
I Emit/Write Generic IL code.

The benchmark:
Invoke Method (1,000,000 Invoke)
Native Static : 0ms
MethodInvoker : 3ms
.NET Reflection : 812ms

Access Property (1,000,000 Read, Write)
Native Static : 20ms
PropertyAccessor : 46ms
.NET Reflection : 1984ms

Access Field (1,000,000 Read, Write)
Native Static : 12ms
FieldAccessor : 15ms
.NET Reflection : 562ms

Haytham El-Fadeel -

X ss = new X();
FastInvoker.MethodInvoker<X> method = new FastInvoker.MethodInvoker<X>("Method");
method.Invoke(ss, null);


class X
public string o;

public string oo { get; set; }

public void Method()


Reviews for this release

Thanks for sharing this library! It made me realize how slow the reflection can be and how to use DynamicMethod to codegen fast access. And of course, having your library, I don't really need to code it myself.
by iliks on May 23, 2009 at 5:16 PM