Click here to Skip to main content
15,890,399 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Team,

I have a methods which is used to create the JSON(.txt) file average size of file is arounnd 1.70 Mb to 2.0 mb,this method is is taking 3 to 4 minutes of time
to create single file as the data is coming from multiple tables.if i run it for 10 to 15 files its generated but takes long,now my requirement is to generate for 1000 of files

1)Can it be possible to reduce the file creation time? if possible plz suggest...
2)Can threading solve my problem?


Thanks in advance...
Posted

1 solution

Quote:
1) Can it be possible to reduce the file creation time? if possible plz suggest...
It might be possible. However we have not enough details to guess.

Quote:
2) Can threading solve my problem?
Threading could help: it could make your GUI more responsive, it would speed up things on a multicore machine.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900