| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Mojolicious::Plugin::Prometheus::Shared::FastMmap; |
|
2
|
2
|
|
|
2
|
|
2064
|
use Mojo::Base 'Mojolicious::Plugin::Prometheus'; |
|
|
2
|
|
|
|
|
143598
|
|
|
|
2
|
|
|
|
|
15
|
|
|
3
|
2
|
|
|
2
|
|
46288
|
use Role::Tiny::With; |
|
|
2
|
|
|
|
|
545
|
|
|
|
2
|
|
|
|
|
175
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '2.0.0'; |
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
with 'Mojolicious::Plugin::Prometheus::Role::SharedFastMmap'; |
|
8
|
|
|
|
|
|
|
1; |
|
9
|
|
|
|
|
|
|
__END__ |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=for stopwords mmapped |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=encoding utf8 |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Mojolicious::Plugin::Prometheus::Shared::FastMmap - Mojolicious Plugin (DEPRECATED) |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
This module was made to support preforking servers, but this is not natively in L<Mojolicious::Plugin::Prometheus> and this module has some limitations you are bound to hit. |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 AUTHOR |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Vidar Tyldum |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Copyright (C) 2018, Vidar Tyldum |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This program is free software, you can redistribute it and/or modify it under |
|
32
|
|
|
|
|
|
|
the terms of the Artistic License version 2.0. |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=over 2 |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item L<Mojolicious::Plugin::Prometheus> |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=back |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
|
43
|
|
|
|
|
|
|
|