MENGANALISA RUNNING TIME ALGORITMA (inggris) ANALYSIS OF RUNNING TIME ALGORITHM

in #programming7 years ago

selamat sore saudara stemian....
sore ini saya ingin membagikan hasil kerja saya yang saya praktekkan di lap kampus politeknik lhokseumawe.
berikut di bawah ini.
NetBeans IDE dilengkapi dengan fasilitas profiling yang bisa digunakan untuk menganalisa performance dari program yang diekskusi. Fasilitas profiling ini dapat digunakan dalam menganalisa running time masing-masing algoritma. Cara kerja profiling pada NetBeans adalah dengan cara mencatat waktu awal dan waktu akhir sebuah method saat dijalankan. Setelah selesai method tersebut dijalankan maka akan dicari selisih waktu akhir-waktu awal untuk mendapatkan runtime masing-masing method.
Langkah penggunaan fasilitas profiling pada NetBeans adalah
(inggri)
Good afternoon stemian brothers ....
This afternoon I want to share my work that I practice in the lapok polo college lhokseumawe.
The following below.
NetBeans IDE comes with profiling facilities that can be used to analyze performance of executed programs. This profiling facility can be used in analyzing running time of each algorithm. The way profiling works on NetBeans is by recording the start and end time of a method when it is executed. After completion of the method is run it will find the difference of the end-time start time to get the runtime of each method.
The use of the profiling facility on NetBeans is

  1. Klik iconpada toolbar, maka akan muncul kotak dialog Profile Project seperti pada gambar 1.
    Langkah penggunaan fasilitas profiling pada NetBeans adalah
    (inggris)
  2. Click the icon on the toolbar, then it will appear in the Profile Project dialog box as in figure 1.
    The use of the profiling facility on NetBeans is
  3. Kemudian klik tombol OK dan akan muncul kotak dialog Profile Tugas seperti pada gambar 2. Pilih CPU dan pada bagian Analyze Performance pilih Part of application, kemudian klik edit untuk memilih method yang ingin dicatat runtimenya.
    (inggris)
  4. Then click the OK button and the Task Profile dialog box will appear as in Figure 2. Choose the CPU and in the Performance Analysis section select Part of application, then click edit to select the method you want to record the runtime.
  5. Setelah mengklik link edit, maka akan muncul kotak dialog Specify Root Methods seperti pada gambar 3. Kemudian klik tombol Add From Project.
    (inggris)
    After clicking the edit link, a Specify Root Methods dialog box will appear as in Figure 3. Then click the Add From Project button.
  6. Setelah mengklik tombol Add From Project, maka akan muncul kotak dialog Select Root Methods seperti pada gambar 4. Kemudian contreng method yang ingin dihitung running timenya.
    (inggris)
  7. After clicking the Add From Project button, a Select Root Methods dialog box will appear as in Figure 4. Then the contreng method that you want to calculate the running time.
  8. Klik tombol OK > OK > Run untuk menjalankannya.

Berikut ini adalah contoh hasil perhitungan running time untuk beberapa data menggunakan fasilitas profiling pada NetBeans:
(inggris)

  1. Click the OK> OK> Run button to run it.

Here is an example of a running time calculation for some data using the profiling facility on NetBeans:

Dan seterusnya. Tampilkan hasil yang lengkap pada laporan sesuai dengan jumlah input yang dianalisis.

Buat rangkuman dari hasil perhitungan running time (waktu dalam satuan ms) Tabel 1. Hasil perhitungan running time untuk algoritma sorting seperti di bawah ini:
(inggris)
And so on. Show complete results on reports according to the number of inputs analyzed.

Create a summary of running time calculations Table 1. Results of running time calculations for sorting algorithms are as follows:

Hasil running time atau waktu komputasi dalam satuan milli seconds dapat digambarkan dalam bentuk grafik menggunakan software Matlab.
(inggris)
Running time or computation time in milli seconds can be described in graphic form using Matlab software.

sekian untuk sore ini semoga bermanfaat bagi saudara steemit semua
@ikhsan18

Sort:  

Congratulations @ikhsan18! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.031
BTC 59559.24
ETH 2523.49
USDT 1.00
SBD 2.42