Skip to content

Commit

Permalink
HTML/JSON rendering perf comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Jun 13, 2024
1 parent c8dd8d6 commit 29ecd87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ note that a JSON API often returns all data, regardless of necessity, whereas an
for a given UI because, well, it _is_ the UI.

This is speculation, however, and my take-away from all this is not that HTML is faster than JSON: I'm sure with a
well tuned JSON serialization mechanism it can be made faster than the HTML. Rather it is that the two approaches are very close
well tuned JSON serialization mechanism the JSON responses can be made faster than the HTML responses. Rather it is that the two approaches are very close
to one another and are probably round off errors in the overall scheme of total system performance. Once you hit a data store, or add
in real-world latency between the client and server, these differences vanish in the wash.

Expand Down

0 comments on commit 29ecd87

Please sign in to comment.