Closed
Bug 770501
Opened 12 years ago
Closed 6 years ago
[OS.File] Linux/Android optimizations
Categories
(Core :: Networking: File, defect, P3)
Core
Networking: File
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: Yoric, Unassigned)
References
Details
(Whiteboard: [necko-backlog])
Linux kernels offer the following functions:
- dirfd, fdopendir;
- openat, statat, unlinkat, etc.
Whenever they can be used, they can be much faster than open, stat, unlink, etc. We should expose them and make use of them.
Reporter | ||
Comment 1•12 years ago
|
||
We might wish to implement the following functions in the front-end:
- File.prototype.linuxDirectoryIterator (behaves as |new DirectoryIterator|, but from a file descriptor, using |fdopendir|);
- File.prototype.linuxOpenAt (behaves as |File.open|, but for a file in |this|, and only if |this| is a directory);
- File.prototype.linuxInfoAt (behaves as |File.info|, but for a file in |this|, and only if |this| is a directory);
- File.prototype.linuxRemoveAt (behaves as |File.remove|, but for a file in |this|, and only if |this| is a directory).
Reporter | ||
Updated•12 years ago
|
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 2•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 3•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Comment 4•6 years ago
|
||
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 5•6 years ago
|
||
Mass closing as we are no longer working on b2g/firefox os.
Reporter | ||
Comment 6•6 years ago
|
||
Sylvestre, this bug was also about Linux and Android. Most of the optimizations have been done already, but I don't think it is worth closing it just yet :)
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Reporter | ||
Updated•6 years ago
|
Summary: [OS.File] Linux/Android/B2G optimizations → [OS.File] Linux/Android optimizations
Comment 7•6 years ago
|
||
David, would you mind explaining what hasn't been implemented? Thanks
Flags: needinfo?(dteller)
Reporter | ||
Comment 8•6 years ago
|
||
Actually, much of https://bugzilla.mozilla.org/show_bug.cgi?id=770501#c1 hasn't been implemented.
I realize that we don't really care about I/O performance these days, so we might as well close the bug, as you did.
Flags: needinfo?(dteller)
Reporter | ||
Updated•6 years ago
|
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•