[optimize] lots of GreatNews.ini queries

Ideas? Suggestions?

Or report any bugs about GreatNews here

Moderators: justauser, MysteryFCM

Posts: 115
Joined: Tue May 31, 2005 8:01 am

[optimize] lots of GreatNews.ini queries

Postby Alexander » Thu Jul 21, 2005 11:24 am

I ran Sysinternals's Filemon,


on GN and noticed that sometimes GN does hundreds of queries to GreatNews.ini. Shouldn't it be possible to save this overhead by reading GreatNews.ini only once at program startup and then to store the settings in some global variables?

User avatar
Site Admin
Posts: 3472
Joined: Fri Feb 18, 2005 12:05 am

Postby Jack » Thu Jul 21, 2005 1:34 pm

Given the size of greatnews.ini file it's most likely cached in memory by OS. Currently the ini file is the centralized point where every read and write goes to. That's why almost all setting changes can take effect immdiately w/o restarting GN.

In Beta 2 performance tuning phase I will check this part more carefully. I'm sure there are some excessive file reads we can get rid of.

Posts: 115
Joined: Tue May 31, 2005 8:01 am

Postby Alexander » Thu Jul 21, 2005 5:41 pm

Wonderful! Most other developers are usually already happy when things "just work", and ignore users' comments on optimization. Not the case here. Which is one of the many reasons why I did the switch to GreatNews a few months ago!


Return to “Suggestions & Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests