DAI 2023-2024 - Java IOs benchmarking - Jeremiah Steiner #87
Closed
BetterBlood
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
Great, thank you! I guess the repository is private as I cannot access it. If you add us to your project or make it public, we can give you a feedback. Good usage of ChatGPT. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
commit
Which type of stream is the most efficient for each use case?
Why is it more efficient than the other types of streams? cause it optimise the information transfer using buffers
What is the difference between binary data and text data? a char could take more than a byte
What is a character encoding? a meta information, let us know how to read bytes to understand them the right way
Why is this methodology important? to prevent loosing time on execution, to optimise our application
ChatGPT used for creating the tables using this prompt:
Récupère les données dans le texte ci-dessous, et formate certaines informations en tableau en format markdown. Les informations nécessaire sont : si le fichier est en binaire ou en texte, si l'utilisation d'un buffer est effectuée ou non, si c'est une lecture ou une écriture, le nombre de ms et le nombre de ns. Dans les données ci-dessous les infos sont groupés par deux lignes, je veux donc dans le tableau uns ligne pour chaque deux ligne du texte ci-dessous. Donne directement le .md
"Writing 1 bytes to binary_1B.bin with a non-buffered stream...
Elapsed time: 1ms / 1480300ns
{...}
Reading text_5MiB.txt with a non-buffered stream...
Elapsed time: 440ms / 440180400ns"
Beta Was this translation helpful? Give feedback.
All reactions