Commit Graph

26 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
9e6691e5ce fix _benchmarks/iris-mvc-templates
Former-commit-id: 10b4952308c62b81eb7270b9e0b29ad0bb645bc5
2017-12-31 20:33:33 +02:00
Gerasimos (Makis) Maropoulos
b282e7c563 Replace controller's .Register with .Handle and AddDependencies with .Register in order to be aligned with the 'hero' package, all examples and docs are updated, it's crazy how I can't stop even on Christmas
Former-commit-id: 3b42963e9806e327ee42942cf156bda6059eaf8f
2017-12-27 04:15:41 +02:00
Gerasimos (Makis) Maropoulos
ef3a09c126 update the documents for the new MVC API and some of its new features but not finished yet, README big examples and _examples/mvc/login is are yet updated and I'm thinking of removing the big examples on README.md, they exist on the _examples/mvc updated.
Former-commit-id: c2938d4bcaa3520744526f7975ee3cce632499b3
2017-12-22 10:18:31 +02:00
Gerasimos (Makis) Maropoulos
c15763c556 ok make it cleaner, it's working well and blazing fast but I have to do a lot cleaning and commenting and docs as well before push it to master --- hope at christmas day, also thinking some internal ideas - the whole code is not ready to be readen by a third person yet.
Former-commit-id: 0b3fb2841d5032ff47bdca42a6f4ccfeb789ce3c
2017-12-19 23:40:42 +02:00
Gerasimos (Makis) Maropoulos
a25c0557de don't create a new controller instance if it doesn't have struct dependencies and the fields length is 0 - 0.4MB/s difference from the raw handlers now.
Former-commit-id: f808291fe84bc2cdd83f60f62f8b3140204110a5
2017-12-16 17:57:20 +02:00
Gerasimos (Makis) Maropoulos
34664aa311 OK, my dream-idea is implemented. TODO: Some examples and doc.go is not updated yet, comments on the mvc/di subpackage, the tutorial/vuejs-todo-mvc is running but not finished yet (it's using browser's localstorage and it should be replaced by the http requests that are registered via iris mvc
Former-commit-id: 0ea7e01ce1d78bcb78b40f3b0f5c03ad7c9abaea
2017-12-16 06:38:28 +02:00
Gerasimos (Makis) Maropoulos
4e15f4ea88 create one generic package for dependency injection which can be used outside of Iris too - worked but unfished
Former-commit-id: a9d600321c07d7c9f39105416f14ae91528a16a3
2017-12-14 23:04:42 +02:00
Gerasimos (Makis) Maropoulos
8dcbdc0741 performance close to handlers if no bindings but even if bindings except service (new feature is that we can bind functions as well) is x1.1 faster than the previous mvc implementation - make BaseController (so and C) optionally but not break the existing APIs that using iris.C or mvc.C
Former-commit-id: a26a8f836894c061e0f435df8ac1c2c534f0ee48
2017-12-13 06:17:28 +02:00
kataras
8d659d3589 move csrf middleware example
Former-commit-id: 5dbe3affead73a97b5313b9f7c00e88470aba24d
2017-11-21 11:38:55 +02:00
kataras
006a09f68a update benchmarks and use throng on expressjs for better performance-- 21 Nov 2017 with linux ubuntu and latest mainline kernel 4.14
Former-commit-id: 40d27dd7d02f4ead756be090364075a6570ae2cb
2017-11-21 11:34:04 +02:00
Quentin Homareau
d1cc5599b6 Fix NodeJS benchmark
Former-commit-id: a1d87cf3a3f4790b9e392dc3c100180284286797
2017-11-19 13:02:48 +01:00
kataras
15feaf0237 Update to version 8.5.5 | Read HISTORY.md
Former-commit-id: dced7d472edabbab4f80c76051f13261928a8dea
2017-11-02 05:54:33 +02:00
Gerasimos (Makis) Maropoulos
49ee8f2d75 Update to version 8.5.0 | NEW: MVC Output Result | Read HISTORY.md
Former-commit-id: 6a3579f2500fc715d7dc606478960946dcade61d
2017-10-09 15:26:46 +03:00
Gerasimos (Makis) Maropoulos
7989a2fd72 fix https://github.com/kataras/iris/issues/771
Former-commit-id: 5659b6ca274bb51d7de0d079b0e87c0c513540a6
2017-09-30 23:52:32 +03:00
Gerasimos (Makis) Maropoulos
20e2dd694f Add expressjs benchmarks similar to iris and netcore but MVC
Former-commit-id: 0f56ebf040514ee332b6b4a13ecc02ce6cd339c7
2017-09-29 15:35:51 +03:00
kataras
5ffc7911cd Add a TODO on the latest HISTORY.md entry
Also disable version updater on Iris benchmark source code files. It may runs ever faster than before if you started the benchmarks immediately after the banner  👍


Former-commit-id: a55dc1e0b658d7386229c32ba6953b1ea60f2872
2017-08-24 15:40:06 +03:00
kataras
e12513a534 Update to 8.3.2 | Read HISTORY.md file
Former-commit-id: e6ab761989d596cb004c39e65e04e8968d9461ab
2017-08-22 13:00:24 +03:00
kataras
33e651866e Nothing in code | give a link to the just-published the new benchmarking article
Former-commit-id: 03b7ac158138ee9a56afc2969c59f789c8ce5792
2017-08-21 22:51:01 +03:00
kataras
40f79c1f19 Kestrel vs Iris new benchmarks, as you asked for 👍
Former-commit-id: d8979e55679bbb586dd79a81a43e1c29082ad9c2
2017-08-21 16:17:32 +03:00
kataras
0c403fd0c6 .NET Core (no mvc) with Sessions vs Iris (no mvc) with Sessions
Former-commit-id: 04a9660645a824dfbc49414605aeff2b3ff88b55
2017-08-21 13:29:49 +03:00
kataras
4099bd15c1 Add .NET Core MVC with Templates vs Iris MVC with Templates
https://hackernoon.com/go-vs-net-core-in-terms-of-http-performance-7535a61b67b8

Former-commit-id: dabf2d23a2f8a341ded9fc87ced82300855e26a6
2017-08-20 10:42:31 +03:00
kataras
89d0d5c5de Update the benchmarks results as Scott Hanselman‏ and Josh Clark noted.
No such a difference (before: 8.61MB/s now: 8.91MB/s).

I think we can't do much more, I already removed the heavy parts on the first run... but still I'm open for any suggestions. Thank you for the feedback!


Former-commit-id: 0b0c8ba40c8380b530b6c77a5ee75ecfb4357f16
2017-08-20 06:53:15 +03:00
kataras
9232d3f48e Add a note about .NET Core, although I am not C# guy anymore, still know more compared to other net developers out there...
Former-commit-id: 310c09a046ee94583de2be5b963896b00455c9da
2017-08-19 22:38:50 +03:00
kataras
27f0e0b4b1 add some articles and put the latest one first
Former-commit-id: 7743d6a7a66b3e927a308770cdf2d97ea68cf499
2017-08-19 08:02:49 +03:00
kataras
151e38d5c8 .NET Core vs Iris MVC vs Iris (classic API with Handlers)
No need to format using Writef on benchmarks for a simple string value without dynamic text, just use the WriteString which is the correct function for these apps.


Former-commit-id: 896ec514570d533d8da91af3ad199fc4f823fe74
2017-08-19 07:11:30 +03:00
kataras
ca4c66d5b4 .NET Core vs Iris MVC vs Iris (classic API with Handlers)
Former-commit-id: 19c71f41c0864d2f3f36627e9da53b4802a4476b
2017-08-19 06:06:05 +03:00