SORU
7 HAZİRAN 2011, Salı


Ölçüm R yürütme zamanı fonksiyonu

Fonksiyonun yürütme zamanı ölçmek için R standart bir yolu var mı?

Açıkçası ben al system.time önce ve sonra yürütme ve sonra fark bu, ama benim için varsa bazı standart yol veya fonksiyon (gibi değil icat tekerlek).


Sonra aşağıdaki gibi bir şey kullanmış olduğunu hatırlıyorum:

somesysfunction("myfunction(with,arguments)")
> Start time : 2001-01-01 00:00:00  # output of somesysfunction
> "Result" "of" "myfunction"        # output of myfunction
> End time : 2001-01-01 00:00:10    # output of somesysfunction
> Total Execution time : 10 seconds # output of somesysfunction

CEVAP
7 HAZİRAN 2011, Salı


system.time() yapacak yerleşik bir işlevdir.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Jonnyriddlin1

    Jonnyriddlin

    4 Ocak 2007
  • MkElite

    MkElite

    13 NİSAN 2012
  • JeezyVEVO

    JeezyVEVO

    12 Mayıs 2009