Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pausing on mpg123 backend seems very processor intensive #8

Open
jonnay opened this issue Aug 14, 2014 · 0 comments
Open

Pausing on mpg123 backend seems very processor intensive #8

jonnay opened this issue Aug 14, 2014 · 0 comments

Comments

@jonnay
Copy link

jonnay commented Aug 14, 2014

When pausing (using the mpg123 backend) my CPU usage spikes up to 50%.

Here is an ELP dump:

bongo-mpg123-process-filter                           10579       0.5360889999  5.067...e-05
bongo-mpg123-parse-output                             10579       0.3991729999  3.773...e-05
bongo-player-call-with-default                        111         0.0384510000  0.0003464054
bongo-pause/resume                                    3           0.03657       0.01219
bongo-player-pause/resume                             3           0.036382      0.0121273333
bongo-mpg123-player-pause/resume                      3           0.036317      0.0121056666
bongo-player-paused/resumed                           3           0.0360700000  0.0120233333
bongo-update-mode-line-indicator-string               3           0.034542      0.0115140000
bongo-default-mode-line-indicator-function            3           0.0345139999  0.0115046666
bongo-mode-line-volume-button                         3           0.0147209999  0.0049069999
bongo-mode-line-backward/previous-button              3           0.004452      0.001484
bongo-playing-p                                       72          0.0021939999  3.047...e-05
bongo-point-at-previous-track-line                    3           0.0020940000  0.0006980000
bongo-point-before-previous-track-line                3           0.002084      0.0006946666
bongo-point-before-previous-line-satisfying           3           0.002072      0.0006906666
bongo-player-update-elapsed-time                      47          0.0017030000  3.623...e-05
bongo-player-running-p                                72          0.0016710000  2.320...e-05
bongo-player-get                                      335         0.0014779999  4.411...e-06
bongo-mode-line-pause/resume-button                   3           0.001073      0.0003576666
bongo-mode-line-forward/next-button                   3           0.000994      0.0003313333
bongo-update-header-line-string                       3           0.000951      0.000317
bongo-paused-p                                        12          0.0008830000  7.358...e-05
bongo-line-infoset                                    3           0.000791      0.0002636666
bongo-default-header-line-function                    3           0.0007750000  0.0002583333
bongo-mode-line-icon-size                             12          0.000744      6.2e-05
bongo-default-player-running-p                        72          0.0007420000  1.030...e-05
bongo-track-infoset                                   3           0.000692      0.0002306666
bongo-face-height                                     12          0.000691      5.758...e-05
bongo-format-infoset                                  9           0.0006499999  7.222...e-05
bongo-line-file-name                                  36          0.0006290000  1.747...e-05
bongo-line-get-property                               42          0.0006169999  1.469...e-05
bongo-default-format-infoset                          9           0.0006129999  6.811...e-05
bongo-player-put                                      97          0.0006079999  6.268...e-06
bongo-file-track-line-p                               30          0.0006060000  2.020...e-05
bongo-track-line-p                                    24          0.0005599999  2.333...e-05
bongo-player-process                                  79          0.0005449999  6.898...e-06
bongo-point-at-eol                                    45          0.0005120000  1.137...e-05
bongo-format-field                                    18          0.000495      2.75e-05
bongo-player-update-total-time                        47          0.0004610000  9.808...e-06
bongo-default-format-field                            18          0.0004180000  2.322...e-05
bongo-point-at-current-track-line                     15          0.000391      2.606...e-05
bongo-header-line-playback-status                     3           0.000388      0.0001293333
bongo-mode-line-start/stop-button                     3           0.000362      0.0001206666
bongo-formatted-infoset                               3           0.000355      0.0001183333
bongo-seeking-supported-p                             6           0.000329      5.483...e-05
bongo-player-paused-p                                 12          0.000317      2.641...e-05
bongo-alist-get                                       371         0.0002880000  7.762...e-07
bongo-file-track-infoset                              3           0.0002619999  8.733...e-05
bongo-mode-line-stop-button                           3           0.0002439999  8.133...e-05
bongo-uri-track-line-p                                3           0.000195      6.5e-05
bongo-pausing-supported-p                             3           0.000184      6.133...e-05
bongo-before-invisible-text-p                         36          0.0001680000  4.666...e-06
bongo-playlist-buffer-p                               129         0.0001659999  1.286...e-06
bongo-total-time                                      6           0.00015       2.499...e-05
bongo-elapsed-time                                    6           0.000147      2.45e-05
bongo-default-player-paused-p                         12          0.0001450000  1.208...e-05
bongo-alist-put                                       97          0.0001449999  1.494...e-06
bongo-set-current-track-marker                        3           0.000143      4.766...e-05
bongo-infoset-from-file-name                          3           0.000129      4.299...e-05
bongo-first-line-p                                    3           0.000125      4.166...e-05
bongo-playlist-buffer                                 1           0.000119      0.000119
bongo-default-track-length                            9           0.000117      1.3e-05
bongo-default-infoset-from-file-name                  3           0.000116      3.866...e-05
bongo-point-at-bol                                    3           0.0001130000  3.766...e-05
bongo-player-seeking-supported-p                      6           0.0001119999  1.866...e-05
bongo-recent-playlist-buffer                          1           0.000111      0.000111
bongo-player-times-changed                            47          0.0001109999  2.361...e-06
bongo-player-total-time                               6           0.000108      1.8e-05
bongo-player-elapsed-time                             6           0.000108      1.8e-05
bongo-mode-line-start-button                          3           9.7e-05       3.233...e-05
bongo-point-at-next-track-line                        3           8.7e-05       2.9e-05
bongo-player-interactive-p                            3           8.5e-05       2.833...e-05
bongo-point-before-next-track-line                    3           7.8e-05       2.6e-05
bongo-format-seconds                                  9           7.5e-05       8.333...e-06
bongo-player-pausing-supported-p                      3           7.099...e-05  2.366...e-05
bongo-point-before-next-line-satisfying               3           6.7e-05       2.233...e-05
bongo-goto-point                                      93          5.499...e-05  5.913...e-07
bongo-after-invisible-text-p                          3           5.3e-05       1.766...e-05
bongo-player-buffer                                   6           5.200...e-05  8.666...e-06
bongo-uri-p                                           6           5.100...e-05  8.500...e-06
bongo-default-track                                   9           4.8e-05       5.333...e-06
bongo-last-line-p                                     3           4.8e-05       1.6e-05
bongo-player-infoset                                  6           4.8e-05       8e-06
bongo-default-player-seeking-supported-p              6           3.6e-05       6e-06
bongo-default-player-get-total-time                   6           3.3e-05       5.500...e-06
bongo-default-player-get-elapsed-time                 6           3.2e-05       5.333...e-06
bongo-mode-line-pad-string                            6           3.199...e-05  5.333...e-06
bongo-uri-scheme                                      6           3.1e-05       5.166...e-06
bongo-default-player-interactive-p                    3           3.1e-05       1.033...e-05
bongo-skip-invisible                                  3           2.299...e-05  7.666...e-06
bongo-default-player-pausing-supported-p              3           2.100...e-05  7.000...e-06
bongo-hyphen-padded-mode-line-p                       15          1.900...e-05  1.266...e-06
bongo-buffer-p                                        9           1.400...e-05  1.555...e-06

OS X 10.7, Emacs 24.3.1, mpg123 1.20.0

Let me know if you need anything else!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant