View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003661 | OpenFOAM | Contribution | public | 2021-04-13 12:46 | 2021-04-14 12:11 |
Reporter | dmishura | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | dev | ||||
Summary | 0003661: Slow file copy routine | ||||
Description | Byte to byte copying is very slow. Code form src/OSspecific/POSIX/POSIX.C: // Copy character data. char ch; while (srcStream.get(ch)) { destStream.put(ch); } It can be rewritten as following: // Copy character data. destStream << srcStream.rdbuf(); // Final check. Built and checked on Linux, observed speedup up to 10x | ||||
Tags | No tags attached. | ||||
|
Under what conditions is the performance of this function an issue? |
|
Big model with precomputed initial fields. Decomposition will take longer time in this case. |
|
Resolved by commit e5dd6117b26465c4293f7e9793ba068dec58a700 |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-04-13 12:46 | dmishura | New Issue | |
2021-04-13 13:04 | henry | Note Added: 0011992 | |
2021-04-13 13:07 | dmishura | Note Added: 0011993 | |
2021-04-14 12:11 | henry | Assigned To | => henry |
2021-04-14 12:11 | henry | Status | new => resolved |
2021-04-14 12:11 | henry | Resolution | open => fixed |
2021-04-14 12:11 | henry | Fixed in Version | => dev |
2021-04-14 12:11 | henry | Note Added: 0011995 |