T
T
Tsiren Naimanov2015-05-13 15:38:15
JSON
Tsiren Naimanov, 2015-05-13 15:38:15

Will the asynchronous method speed up serialization/deserialization with a file no larger than 200 lines?

Will the asynchronous method speed up serialization / deserialization with a file no larger than 200 lines?

this.Key = JsonConvert.DeserializeObject<Key>(json);

Or to do asynchronous deserialization?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dordzhiev, 2015-05-13
@ImmortalCAT

I want to say only one thing: asynchrony! = parallelism. Google further :)

W
wkololo_4ever, 2015-05-13
@wkololo_4ever

If you're just going to wrap this line in an async await, then of course it won't affect serialization/deserialization performance in any way.

A
Artur Nurullin, 2015-05-13
@Splo1ter

you need to check, the deserialization time will not decrease, but it will probably increase the time of the method

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question