JsonLogic.Net icon indicating copy to clipboard operation
JsonLogic.Net copied to clipboard

Performance of other JsonLogic libraries

Open AmbroiseCouissin opened this issue 6 years ago • 4 comments

Hi there, Thank you for this library!

Do you know how performant is this library compared to other implementations in other languages?

For example: https://github.com/jwadhams/json-logic-js/

Cheers!

AmbroiseCouissin avatar Apr 18 '19 08:04 AmbroiseCouissin

I have not worked on any benchmarks, however I don't think the performance would be too different between js and dotnet. The are usually other constraints for choosing dotnet vs js. If you are doing front end work, I would recommend using js. For backend, dotnet has more advantages over js. Mobile depends on whether you are using a js framework (react native, nativescript, etc) or a Xamarin.

yavuztor avatar May 30 '19 02:05 yavuztor

We have perf issues over very large jsonlogic files using this library. It can be explained by the fact that they are ... very large. If I have some time, I'll try to dig here and there if I can see some perf improvements possible. Thanks!

AmbroiseCouissin avatar Jun 17 '19 02:06 AmbroiseCouissin

That sounds good. If you can create a test case with one of those jsonlogic files, we can have other people to look into it as well.

yavuztor avatar Jun 28 '19 22:06 yavuztor

check out this library:

https://github.com/ayushmaanbhav/product-farm/tree/master/json-logic

its capable of processing streams and large json logic files

ayushmaanbhav avatar Apr 28 '23 11:04 ayushmaanbhav