Django Database Functions Performance Test

IPython-Shell-Django-Database-Function-Performance-Test

Django Database Functions Performance Test

  • In this post we will measure performance for django database function(Concat) and python f string concatenation for some data.
  • IPython, Python 3.8.5, Django 3.2.2 were used.

 

LimitDjango DB functionPython f string
10083.5 ms89.6 ms
100001.06 s6.68 s
10000010.8 s1 min 7 s

Conclusion

  • Django database functions are higher performance than f string or any other concatenation.

Yorumlar