D
D
Dmitry2016-04-25 19:06:27
ASP.NET
Dmitry, 2016-04-25 19:06:27

How to organize performance testing of Entity Framework?

Hello! Tell me, I want to test EF for performance, I want to use EF to write 500 thousand to the database at a time. records, tell me where these records can be taken and where to store them in order to transfer them to EF so that he writes them down? Are there any other, better ways to test?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Melz, 2016-04-25
@melz

Umm .... well, let's say EF has never been particularly fast, but he can do it.
We need to create them. EF is a wrapper around your code, i.e. you create a table and write whatever you want there.
Do you have a server or client application at all?
given that you want to transmit them at once, you will have to store them in memory. If you do not have a super-computer, it will not pull. Start with at least 1000 from the beginning.
There is, for example, Apache JMeter for web applications. There is a Load Test menu.
People who care about performance don't use EF. They use Dapper , for example.

T
Tsiren Naimanov, 2016-04-26
@ImmortalCAT

there is someone here that will help with filling :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question