redis is 100,000 lines of .c code plus 50,000 lines of deps (jemalloc mostly, and lua, and then linenoise which is tiny). It runs (roughly) 2x the speed of pydis.
pydis is 250 lines of .py which is very impressive.. but it runs on top of python which is 400,000 lines of .c code and 777,460 lines of .py
I would like to see the kind of performance a golang implementation in roughly 250 lines would get. How close to 1.0x performance might it achieve?
> Briefly, pydis is ~60% as fast as Redis measured in number operations per second.
In otherwords it's 40% slower than Redis and doesn't need to account for probably half of the things redis needs to account for.
> pydis is an experiment to disprove some of the falsehoods about performance and optimisation regarding software and interpreted languages in particular.
I don't think the results of this experiment proves anything accept that interpreted code will always be somewhat slower, which is pretty obvious.