Skip to content

Add functionality to add output in <head> tag for Profiler#3858

Closed
kenjis wants to merge 1 commit into
bcit-ci:developfrom
kenjis:add-profiler-head-output
Closed

Add functionality to add output in <head> tag for Profiler#3858
kenjis wants to merge 1 commit into
bcit-ci:developfrom
kenjis:add-profiler-head-output

Conversation

@kenjis
Copy link
Copy Markdown
Contributor

@kenjis kenjis commented May 16, 2015

If you extends Profiler or use thrid-party profiler, you may want to add HTML for profiler in tag.

This PR provides such functionality.

Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
@narfbg
Copy link
Copy Markdown
Contributor

narfbg commented May 18, 2015

Well, if you extend the profiler, you might as well extend the Output class too ...

Sorry, I just don't see this as something that would be useful to many people, and it makes the coupling between CI_Profiler and CI_Output even stronger, which we should be avoiding.

@narfbg narfbg closed this May 18, 2015
@kenjis
Copy link
Copy Markdown
Contributor Author

kenjis commented May 19, 2015

I want to add <link> tag for CSS in <head>. I think it is useful to many people, because we could separate CSS for profiling to css files.

But I understood the coupling we avoid.

Do you think we can do something to add <link> tag in <head>, without making the coupling between CI_Profiler and CI_Output stronger?

To loose coupling between CI_Profiler and CI_Output, It seems we have to change the API.

@narfbg
Copy link
Copy Markdown
Contributor

narfbg commented May 20, 2015

Read through the discussion on #3847 ... it's all in there.

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

Successfully merging this pull request may close these issues.

2 participants