I am currently storing my settings using the Visual Studio integrated Settings-Management-System, which uses XML. But in this article [http://www.codeproject.com/Articles/159450/fastJSON ] I read that "the fastest XML is ~50x slower than the slowest JSON". So it could be that it would be more perfomant when you convert given XML-Data to JSON and then deserialize it. I did not any find any tests and do not know how I could test it. So would this way be more perfomant and from which amount of data is it (how much) profitable? The JSON-Framework I mean is fastJSON, the probably fastest JSON-Framework in C#.
Should I convert XML to JSON for performance reasons?
584 Views Asked by Feve123 At
2
There are 2 best solutions below
0

Optimizing how fast your settings are loaded seems a bit overkill.
If you're continuously loading them all over the place (to the point that making a transition from XML to JSON creates a substantial improvement), you should spend sometime optimizing how you handle your settings.
Related Questions in C#
- Android :EditText inside ListView always update first item in the listview
- Android FragmentPagerAdapter Circular listview
- dynamically inflating views into listView items. odd behaviour
- Button to save certain listview
- ListView: Image shift when using StateImageIndex
- Android Cannot disable listview header dividers
- Link button Delete from ListView and DB in C#
- Android: Empty textview for first item in a listview
- Android Studio cannot recognize "setAdapter()" method
- Open a webpage on list view click
Related Questions in .NET
- Android :EditText inside ListView always update first item in the listview
- Android FragmentPagerAdapter Circular listview
- dynamically inflating views into listView items. odd behaviour
- Button to save certain listview
- ListView: Image shift when using StateImageIndex
- Android Cannot disable listview header dividers
- Link button Delete from ListView and DB in C#
- Android: Empty textview for first item in a listview
- Android Studio cannot recognize "setAdapter()" method
- Open a webpage on list view click
Related Questions in XML
- Android :EditText inside ListView always update first item in the listview
- Android FragmentPagerAdapter Circular listview
- dynamically inflating views into listView items. odd behaviour
- Button to save certain listview
- ListView: Image shift when using StateImageIndex
- Android Cannot disable listview header dividers
- Link button Delete from ListView and DB in C#
- Android: Empty textview for first item in a listview
- Android Studio cannot recognize "setAdapter()" method
- Open a webpage on list view click
Related Questions in JSON
- Android :EditText inside ListView always update first item in the listview
- Android FragmentPagerAdapter Circular listview
- dynamically inflating views into listView items. odd behaviour
- Button to save certain listview
- ListView: Image shift when using StateImageIndex
- Android Cannot disable listview header dividers
- Link button Delete from ListView and DB in C#
- Android: Empty textview for first item in a listview
- Android Studio cannot recognize "setAdapter()" method
- Open a webpage on list view click
Related Questions in FASTJSON
- Android :EditText inside ListView always update first item in the listview
- Android FragmentPagerAdapter Circular listview
- dynamically inflating views into listView items. odd behaviour
- Button to save certain listview
- ListView: Image shift when using StateImageIndex
- Android Cannot disable listview header dividers
- Link button Delete from ListView and DB in C#
- Android: Empty textview for first item in a listview
- Android Studio cannot recognize "setAdapter()" method
- Open a webpage on list view click
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you are using the Visual Studio settings, you probably won't notice any difference in performance by using JSON, and will loose the nice GUI and already written support that the settings system affords you. Don't do it!
To verify if you have any speed improvements, you need to get a profiler and measure. Premature optimization is evil!