Priori Analysis vs Posteriori Testing

Priori is an extension of the word prior which means before.
Similarly, Posteriori is an extension of the word post which means after.

  • Priori Analysis is done after designing an algorithm, whereas Posteriori Testing is done after writing a program.
  • Priori Analysis is a machine (Hardware and Operating System)-independent way of analyzing Time complexities, whereas Posteriori Testing is a machine-dependent way of analyzing Time complexities.
  • Priori Analysis is a programming language-independent way of analyzing Time complexities, whereas Posteriori Testing is a programming language-dependent way of analyzing Time complexities as it can only be done once the program has been implemented.
  • Priori Analysis measures Time and Space functions, whereas Posteriori Testing measures Watch time and Bytes