"Source: Text/System/Par.text";
"Line: 3358";
"Date: Thu Jul 13 10:19:10 2023";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/System/Par.text, line: 3358
// Example: H5E35 ()
print "Example: H5E35";
ei := GetEchoInput();
SetEchoInput(true);
SetNthreads(1); // SERIAL (NO PARALLELISM)
X := Random(MatrixRing(GF(5), 10000));
time P := X*X; // serial only, so prints CPU time (seconds)
T := Time(); P := X*X; Time(T); // same as what time statement prints
SetNthreads(8); // PARALLEL (8 POSIX THREADS)
time P := X*X;  // parallel, so real time shown by [r] (seconds)
T := Time(); P := X*X; Time(T); // same as what time statement prints
SetEchoInput(ei);
