Is it allowed to modify storage node source code?

for purpose of performance improvement

Of course, it’s Open Source!
Also you can make a pull request with your improvements, we are welcome to contribution!

Have a look at this topic:

Especially if you want to contribute.

If you need any help just let us know.